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 * CreateFromLocal
(
TSubclassOf< UK2Node_Variable > NodeClass,
UEdGraph * VarContext,
FBPVariableDescription const & VarDesc,
FProperty * VarProperty,
UObject * Outer
)
Remarks
Creates a new UBlueprintVariableNodeSpawner, charged with spawning a local-variable node (for a variable that belongs to a specific graph). A newly allocated instance of this class.
Parameters
| Name | Description |
|---|---|
| NodeClass | The node type that you want the spawner to spawn. |
| VarContext | The graph that the local variable belongs to. |
| VarDesc | Details the local variable (name, type, etc.) |
| VarProperty | The property that represents the local-variable you want nodes spawned for. |
| Outer | Optional outer for the new spawner (if left null, the transient package will be used). |