Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UBlueprintVariableNodeSpawner
References
Module | BlueprintGraph |
Header | /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintVariableNodeSpawner.h |
Include | #include "BlueprintVariableNodeSpawner.h" |
Source | /Engine/Source/Editor/BlueprintGraph/Private/BlueprintVariableNodeSpawner.cpp |
static UBlueprintVariableNodeSpawner * CreateFromMemberOrParam
(
TSubclassOf< UK2Node_Variable > NodeClass,
FProperty const * VarProperty,
UEdGraph * VarContext,
UClass * OwnerClass
)
Remarks
Creates a new UBlueprintVariableNodeSpawner, charged with spawning a member-variable node (for a variable that has an associated FProperty) A newly allocated instance of this class.
Parameters
Name | Description |
---|---|
NodeClass | The node type that you want the spawner to spawn. |
VarProperty | The property that represents the member-variable you want nodes spawned for. |
VarContext | The graph that the local variable belongs to. |
OwnerClass | The class that the variable is a member of or the class it is associated with if it is in a sidecar data structure. |