FWidgetBlueprintCompilerContext

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Protected variable

UWidgetBlueprin...

 

NewWidgetBlueprintClass

Protected variable

TArray< UWidget...

 

OldWidgetAnimations

Protected variable

UWidgetTree ...

 

OldWidgetTree

Protected variable

TMap< class UWi...

 

WidgetAnimToMemberVariableMap

Map of properties created for widget animations; to aid in debug data generation.

Protected variable

UWidgetGraphSch...

 

WidgetSchema

Protected variable

TMap< class UWi...

 

WidgetToMemberVariableMap

Map of properties created for widgets; to aid in debug data generation.

Constructors

Name Description

Public function

FWidgetBlueprintCompilerContext

(
    UWidgetBlueprint* SourceSketch,
    FCompilerResultsLog& InMessageLog,
    const FKismetCompilerOptions& InCo...
)

Destructors

Functions

Overridden from FKismetCompilerContext

Name Description

Protected function Virtual

void

 

CleanAndSanitizeClass

(
    UBlueprintGeneratedClass* Clas...,
    UObject*& OldCDO
)

Removes the properties and functions from a class, so that new ones can be created in its place

Protected function Virtual

void

 

CopyTermDefaultsToDefaultObject

(
    UObject* DefaultObject
)

Copies default values cached for the terms in the DefaultPropertyValueMap to the final CDO

Protected function Virtual

void

 

CreateClassVariablesFromBlueprint()

Creates a class variable for each entry in the Blueprint NewVars array

Protected function Virtual

void

 

CreateFunctionList()

Creates a list of functions to compile

Protected function Virtual

UEdGraphSche...

 

CreateSchema()

FKismetCompilerContext.

Protected function Virtual

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

Protected function Virtual

void

 

FinishCompilingClass

(
    UClass* Class
)

Handles final post-compilation setup, flags, creates cached values that would normally be set during deserialization, etc...

Protected function Virtual

void

 

OnNewClassSet

(
    UBlueprintGeneratedClass* Clas...
)

Protected function Virtual

void

 

OnPostCDOCompiled()

Protected function Virtual

void

 

PrecompileFunction

(
    FKismetFunctionContext& Context,
    EInternalCompilerFlags InternalFlag...
)

First phase of compiling a function graph

Protected function Virtual

void

 

SaveSubObjectsFromCleanAndSanitizeClass

(
    FSubobjectCollection& SubObjectsTo...,
    UBlueprintGeneratedClass* Clas...
)

Saves any SubObjects on the blueprint that need to survive the clean

Protected function Virtual

void

 

SpawnNewClass

(
    const FString& NewClassName
)

Protected function Virtual

bool

 

ValidateGeneratedClass

(
    UBlueprintGeneratedClass* Clas...
)

Validates the generated class

Typedefs

Name

Description

Super