Navigation
Unreal Engine C++ API Reference > 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 &42; CreateFromLocal
&40;
TSubclassOf< UK2Node_Variable > NodeClass,
UEdGraph &42; VarContext,
FBPVariableDescription const & VarDesc,
FProperty &42; VarProperty,
UObject &42; Outer
&41;
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). |