| UObjectBase
|
Module |
|
Header |
/Engine/Source/Editor/BlueprintGraph/Classes/BlueprintVariableNodeSpawner.h |
Include |
#include "BlueprintVariableNodeSpawner.h" |
class UBlueprintVariableNodeSpawner : public UBlueprintFieldNodeSpawner
Takes care of spawning variable getter/setter nodes. Serves as the "action" portion for certain FBlueprintActionMenuItems. Evolved from FEdGraphSchemaAction_K2Var, and can spawn nodes for both member-variables and local function variables.
Name | Description | |
---|---|---|
|
UBlueprintVariableNodeSpawner ( |
Name | Description | ||
---|---|---|---|
|
UBlueprintVa... |
CreateFromLocal ( |
Creates a new UBlueprintVariableNodeSpawner, charged with spawning a local-variable node (for a variable that belongs to a specific graph). |
|
UBlueprintVa... |
CreateFromMemberOrParam ( |
Creates a new UBlueprintVariableNodeSpawner, charged with spawning a member-variable node (for a variable that has an associated FProperty) |
|
FFieldVarian... |
GetVarOuter() |
If this is a local variable, then this will return the UEdGraph that it belongs to, otherwise it pulls the outer from the wrapped member-variable property. |
|
FProperty co... |
GetVarProperty() |
Accessor to the variable's property. |
|
FEdGraphPinT... |
GetVarType() |
Utility function for easily accessing the variable's type (needs to pull the information differently if it is a local variable as opposed to a member variable with a FProperty). |
|
IsLocalVariable() |
Since this spawner can wrap both local and member variables, we use this method to discern between the two. |
|
|
IsUserLocalVariable() |
Name | Description | ||
---|---|---|---|
|
FBlueprintNo... |
GetSpawnerSignature() |
We want to be able to compare spawners, and have a signature that is rebuildable on subsequent runs. |
|
FBlueprintAc... |
GetUiSpec ( |
Takes the default FBlueprintActionUiSpec and modifies it dynamically to accommodate the current context. |
|
UEdGraphNode... |
Invoke ( |
Takes care of spawning a node for the specified graph. |
|
Prime() |
Not required, but intended to passively help speed up menu building operations. |