Navigation
API > API/Editor > API/Editor/UMGEditor
Inheritance Hierarchy
- FGraphCompilerContext
- FKismetCompilerContext
- FWidgetBlueprintCompilerContext
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/WidgetBlueprintCompiler.h |
| Include | #include "WidgetBlueprintCompiler.h" |
Syntax
class FWidgetBlueprintCompilerContext : public FKismetCompilerContext
Variables
| Type | Name | Description | |
|---|---|---|---|
| UWidgetBlueprintGeneratedClass * | NewWidgetBlueprintClass | ||
| TArray< UWidgetAnimation * > | OldWidgetAnimations | ||
| UWidgetTree * | OldWidgetTree | ||
| TMap< UWidgetAnimation *, FProperty * > | WidgetAnimToMemberVariableMap | Map of properties created for widget animations; to aid in debug data generation. | |
| UWidgetGraphSchema * | WidgetSchema | ||
| TMap< UWidget *, FProperty * > | WidgetToMemberVariableMap | Map of properties created for widgets; to aid in debug data generation. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWidgetBlueprintCompilerContext
(
UWidgetBlueprint* SourceSketch, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddExtension
(
UWidgetBlueprintGeneratedClass* Class, |
||
| void | FixAbandonedWidgetTree
(
UWidgetBlueprint* WidgetBP |
||
| void | SanitizeBindings
(
UBlueprintGeneratedClass* Class |
||
| void | Validates the Desired Focus name to make sure it's part of the Widget Tree. | ||
| void | Checks if the animations' bindings are valid. | ||
| void | |||
| void | VerifyEventReplysAreNotEmpty
(
FKismetFunctionContext& Context |
||
| void | VerifyFieldNotifyFunction
(
FKismetFunctionContext& Context |
||
| UWidgetBlueprint * |
Overridden from FKismetCompilerContext
| Type | Name | Description | |
|---|---|---|---|
| void | CleanAndSanitizeClass
(
UBlueprintGeneratedClass* ClassToClean, |
Removes the properties and functions from a class, so that new ones can be created in its place | |
| void | CopyTermDefaultsToDefaultObject
(
UObject* DefaultObject |
Copies default values cached for the terms in the DefaultPropertyValueMap to the final CDO | |
| void | Creates a class variable for each entry in the Blueprint NewVars array | ||
| void | Creates a list of functions to compile | ||
| UEdGraphSchema_K2 * | CreateSchema () |
||
| void | EnsureProperGeneratedClass
(
UClass*& TargetClass |
Backwards Compatability: Ensures that the passed in TargetClass is of the proper type (e.g. BlueprintGeneratedClass, AnimBlueprintGeneratedClass), and NULLs the reference if it is not | |
| void | FinishCompilingClass
(
UClass* Class |
Handles final post-compilation setup, flags, creates cached values that would normally be set during deserialization, etc... | |
| void | OnNewClassSet
(
UBlueprintGeneratedClass* ClassToUse |
||
| void | OnPostCDOCompiled
(
const UObject::FPostCDOCompiledContext& Context |
||
| void | PrecompileFunction
(
FKismetFunctionContext& Context, |
First phase of compiling a function graph | |
| void | SaveSubObjectsFromCleanAndSanitizeClass
(
FSubobjectCollection& SubObjectsToSave, |
Saves any SubObjects on the blueprint that need to survive the clean | |
| void | SpawnNewClass
(
const FString& NewClassName |
||
| bool | ValidateGeneratedClass
(
UBlueprintGeneratedClass* Class |
Validates the generated class |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCreateVariableContext |
Typedefs
| Name | Description |
|---|---|
| Super |