| FGraphCompilerContext
|
Module |
|
Header |
/Engine/Source/Editor/KismetCompiler/Public/KismetCompiler.h |
Include |
#include "KismetCompiler.h" |
class FKismetCompilerContext : public FGraphCompilerContext
Name | Description | ||
---|---|---|---|
|
AverageNodeHeight |
||
|
AverageNodeWidth |
Average node size for nodes with no size. |
|
|
bAssignDelegateSignatureFunction |
Flag to trigger [FMulticastDelegateProperty::SignatureFunction](API\Runtime\CoreUObject\UObject\FMulticastDelegateProperty\SignatureFunction) resolution in CreateClassVariablesFromBlueprint: |
|
|
bGenerateLinkedAnimGraphVariables |
Flag to trigger ProcessLinkedGraph in CreateClassVariablesFromBlueprint: |
|
|
int32: 1 |
bIsFullCompile |
|
|
UBlueprint *... |
Blueprint |
|
|
CallsIntoUbergraph |
||
|
ClassScopeNetNameMap |
Map from a name to the number of times it's been 'created' (identical nodes create the same variable names, so they need something appended) |
|
|
CompileOptions |
This struct holds the various compilation options, such as which passes to perform, whether to save intermediate results, etc. |
|
|
UEdGraph * |
ConsolidatedEventGraph |
The ubergraph; valid from roughly the start of CreateAndProcessEventGraph. |
|
CreatedFunctionNames |
Names of functions created. |
|
|
DefaultPropertyValueMap |
Map from UProperties to default object values, to be fixed up after compilation is complete. |
|
|
TIndirectArray<... |
FunctionList |
List of functions currently allocated. |
|
FunctionListCompiledEvent |
Event that is broadcast immediately after the function list for this context has been compiled. |
|
|
GeneratedFunctionGraphs |
Set of function graphs generated for the class layout at compile time |
|
|
HorizontalNodePadding |
||
|
HorizontalSectionPadding |
Padding. |
|
|
UScriptStruct &... |
LinearColorStruct |
|
|
MacroGeneratedNodes |
Map that can be used to find the macro node that spawned a provided node, if any. |
|
|
MacroRowMaxHeight |
Maximum height encountered in this row; used to position the next row appropriately. |
|
|
MacroSpawnX |
Used to space expanded macro nodes when saving intermediate results. |
|
|
MacroSpawnY |
||
|
MaximumSpawnX |
||
|
MinimumSpawnX |
Maximum bounds of the spawning area. |
|
|
NewClass |
||
|
NodeHandlers |
Map from node class to a handler functor. |
|
|
UObject * |
OldCDO |
Data that persists across CompileClassLayout/CompileFunctions calls: |
|
OldClass |
||
|
OldGenLinkerIdx |
||
|
FLinkerLoad ... |
OldLinker |
|
|
UScriptStruct &... |
RotatorStruct |
|
|
Schema |
Schema for the graph being compiled. |
|
|
SourceNodeToExpansionEvent |
Source pin to latent/delegate entry point. |
|
|
SourcePinToExpansionEvent |
||
|
TargetClass |
||
|
TimelineToMemberVariableMap |
Map of properties created for timelines; to aid in debug data generation. |
|
|
UScriptStruct &... |
TransformStruct |
|
|
UbergraphContext |
The ubergraph context; valid from the end of CreateAndProcessEventGraph. |
|
|
UScriptStruct &... |
VectorStruct |
|
|
VerticalSectionPadding |
Name | Description | |
---|---|---|
|
FKismetCompilerContext ( |
Name | Description | |
---|---|---|
|
~FKismetCompilerContext() |
Name | Description | ||
---|---|---|---|
|
AddInterfacesFromBlueprint ( |
Handles adding the implemented interface information to the class |
|
|
AdvanceMacroPlacement |
Advances the macro position tracking. |
|
|
AutoAssignNodePosition ( |
||
|
BuildDynamicBindingObjects ( |
Build the dynamic bindings objects used to tie events to delegates at runtime |
|
|
CheckConnectionResponse ( |
Checks a connection response, and errors if it didn't succeed (not public, users should be using MovePinLinksToIntermediate/CopyPinLinksToIntermediate instead of wrapping their own with this). |
|
|
CleanAndSanitizeClass ( |
Removes the properties and functions from a class, so that new ones can be created in its place |
|
|
Compile() |
Compile a blueprint into a class and a set of functions |
|
|
CompileClassLayout ( |
Compile the class layout of the blueprint |
|
|
CompileFunction ( |
Second phase of compiling a function graph |
|
|
CompileFunctions ( |
Compile the functions of the blueprint - must be done after compiling the class layout: |
|
|
FPinConnecti... |
CopyPinLinksToIntermediate ( |
Copies pin links over from the source-pin to the specified intermediate, and validates the result (additionally logs a redirect from the intermediate-pin back to the source so we can back trace for debugging, etc.) |
|
CopyTermDefaultsToDefaultObject ( |
Copies default values cached for the terms in the DefaultPropertyValueMap to the final CDO |
|
|
CreateAndProcessUbergraph() |
Merges pages and creates function stubs, etc... |
|
|
CreateClassVariablesFromBlueprint() |
Creates a class variable for each entry in the Blueprint NewVars array |
|
|
CreateCommentBlockAroundNodes ( |
||
|
FKismetFunct... |
CreateFunctionContext() |
Creates a new function context and adds it to the function list to be processed. |
|
CreateFunctionList() |
Creates a list of functions to compile |
|
|
CreateFunctionStubForEvent ( |
Create a stub function graph for the event node, and have it invoke the correct point in the ubergraph |
|
|
CreateLocalVariablesForFunction ( |
Creates the properties on a function that store the local and event graph (if applicable) variables |
|
|
CreateParametersForFunction ( |
Create the properties on a function for input/output parameters |
|
|
CreatePropertiesFromList ( |
Creates a property with flags including PropertyFlags in the Scope structure for each entry in the Terms array |
|
|
UEdGraphSche... |
CreateSchema() |
|
|
FProperty &#... |
CreateUserDefinedLocalVariableForFunction ( |
Helper function for CreateUserDefinedLocalVariablesForFunction and compilation manager's FastGenerateSkeletonClass: |
|
CreateUserDefinedLocalVariablesForFunction ( |
Creates user defined local variables for function |
|
|
FProperty &#... |
CreateVariable ( |
Creates a class variable |
|
DetermineNodeExecLinks ( |
Discovers exec pin links for the sourcenode |
|
|
EnsureProperGeneratedClass ( |
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 |
|
|
ExpandTimelineNodes ( |
Expand timeline nodes into necessary nodes |
|
|
ExpandTunnelsAndMacros ( |
Expands any macro instances and collapses any tunnels in the nodes of SourceGraph |
|
|
ExpansionStep |
Expands out nodes that need it. |
|
|
const UK2Nod... |
FindLocalEntryPoint ( |
Scan FunctionList and return Entry point, for matching one |
|
FinishCompilingClass ( |
Handles final post-compilation setup, flags, creates cached values that would normally be set during deserialization, etc... |
|
|
FinishCompilingFunction ( |
Handles final post-compilation setup, flags, creates cached values that would normally be set during deserialization, etc... |
|
|
TSharedPtr< ... |
GetCompilerForBP ( |
|
|
GetEventStubFunctionName ( |
Picks the name to use for an autogenerated event stub |
|
|
GetGuid ( |
||
|
const UEdGra... |
GetSchema() |
|
|
GetUbergraphCallName() |
Gets the unique name for this context's ExecuteUbergraph function |
|
|
IsNodePure ( |
Determines if a node is pure |
|
|
MapExpansionPathToTunnelInstance ( |
Maps the nodes in an intermediate tunnel expansion path back to the owning tunnel instance node. |
|
|
MergeUbergraphPagesIn ( |
Merges in any all ubergraph pages into the gathering ubergraph |
|
|
FPinConnecti... |
MovePinLinksToIntermediate ( |
Moves pin links over from the source-pin to the specified intermediate, and validates the result (additionally logs a redirect from the intermediate-pin back to the source so we can back trace for debugging, etc.) |
|
FOnFunctionL... |
OnFunctionListCompiled() |
Broadcasts a notification immediately after the function list for this context has been compiled. |
|
OnNewClassSet ( |
||
|
OnPostCDOCompiled() |
||
|
PostCDOCompiled() |
Called after the CDO has been generated, allows assignment of cached/derived data: |
|
|
PostCompile() |
||
|
PostCompileDiagnostics() |
Gives derived classes a chance to emit debug data. |
|
|
PostcompileFunction ( |
Final phase of compiling a function graph; called after all functions have had CompileFunction called |
|
|
PostCreateSchema() |
||
|
PreCompile() |
Gives derived classes a chance to hook up any custom logic. |
|
|
PrecompileFunction ( |
First phase of compiling a function graph |
|
|
PrintVerboseInformation ( |
||
|
PrintVerboseInfoStruct ( |
||
|
ProcessIntermediateTunnelBoundary ( |
Processes an intermediate tunnel expansion boundary. |
|
|
ProcessOneFunctionGraph |
Merges macros/subgraphs into the graph and validates it, creating a function list entry if it's reasonable. |
|
|
PropagateValuesToCDO |
Non virtual wrapper to encapsulate functions that occur when the CDO is ready for values: |
|
|
RegisterCompilerForBP ( |
||
|
SaveSubObjectsFromCleanAndSanitizeClass ( |
Saves any SubObjects on the blueprint that need to survive the clean |
|
|
SetCalculatedMetaDataAndFlags ( |
Adds metadata for a particular compiled function based on its characteristics |
|
|
SetCanEverTick() |
Function works only if subclass of AActor or UActorComponent. |
|
|
SetDefaultInputValueMetaData ( |
Reflects each pin's user set, default value into the function's metadata (so it can be queried for later by CallFunction nodes, etc.) |
|
|
SetNewClass ( |
Function used to assign the new class that will be used by the compiler |
|
|
SetPropertyDefaultValue |
Adds a default value entry into the DefaultPropertyValueMap for the property specified |
|
|
NodeType ... |
SpawnIntermediateEventNode ( |
Spawns an intermediate event node associated with the source node (for error purposes) |
|
UEdGraph ... |
SpawnIntermediateFunctionGraph ( |
Spawn an intermediate function graph for this compilation using the specified desired name (which may be modified to make it unique |
|
NodeType ... |
SpawnIntermediateNode ( |
Spawns an intermediate node associated with the source node (for error purposes) |
|
UK2Node_Temp... |
SpawnInternalVariable ( |
|
|
SpawnNewClass ( |
||
|
TransformNodes ( |
Performs transformations on specific nodes that require it according to the schema |
|
|
UsePersistentUberGraphFrame() |
||
|
ValidateComponentClassOverrides() |
Ensures that all component class overrides are legal overrides of the parent class |
|
|
ValidateFunctionGraphNames() |
Ensures that all function graphs have valid names for compilation/replication |
|
|
ValidateGeneratedClass ( |
Validates the generated class |
|
|
ValidateNoWildcardPinsInGraph ( |
Checks if pin types are unresolved (e.g. still wildcards). |
|
|
ValidateSelfPinsInGraph ( |
Checks if self pins are connected. |
|
|
ValidateTimelineNames() |
Ensures that all timelines have valid names for compilation/replication |
|
|
ValidateVariableNames() |
Ensures that all variables have valid names for compilation/replication |
|
|
VerifyValidOverrideEvent ( |
If a function in the graph cannot be placed as event make sure that it is not. |
|
|
VerifyValidOverrideFunction ( |
If a function in the graph cannot be overridden make sure that it is not. |
Name | Description | ||
---|---|---|---|
|
CanIgnoreNode ( |
Can this node be ignored for further processing? |
|
|
PinIsImportantForDependancies ( |
Does this pin potentially participate in data dependencies? |
|
|
PruneIsolatedNodes ( |
Prunes any nodes that weren't visited from the graph, printing out a warning |
|
|
ShouldForceKeepNode ( |
Should this node be kept even if it's not reached? |
|
|
ValidateLink ( |
Validates that the interconnection between two pins is schema compatible |
|
|
ValidateNode ( |
Validates that the node is schema compatible |
|
|
ValidatePin ( |
Validate that the wiring for a single pin is schema compatible |
Name |
Description |
|
---|---|---|
|
FNameParameterHelper |
|
|
FOnFunctionListCompiled |
|
|
FSubobjectCollection |
Name |
Description |
---|---|
Super |
Name |
Description |
---|---|
OnPostCompile |
|
OnPreCompile |
Name | Description | ||
---|---|---|---|
|
UK2Node_Temp... |
SpawnInternalVariable ( |
Remove when removing versions that take subcategory as FString. Required to avoid ambiguity |
|
UK2Node_Temp... |
SpawnInternalVariable ( |
Use version that takes Category and SubCategory as FName |
|
UK2Node_Temp... |
SpawnInternalVariable ( |
Use version that takes Category and SubCategory as FName, and PinContainerType instead of separate booleans for array, set, and map |