| UBlueprintNodeSpawner::Invoke()
|
Module |
|
Header |
/Engine/Source/Editor/BlueprintGraph/Classes/BlueprintVariableNodeSpawner.h |
Include |
#include "BlueprintVariableNodeSpawner.h" |
Source |
/Engine/Source/Editor/BlueprintGraph/Private/BlueprintVariableNodeSpawner.cpp |
virtual UEdGraphNode * Invoke
(
UEdGraph * ParentGraph,
FBindingSet const & Bindings,
FVector2D const Location
) const
Takes care of spawning a node for the specified graph. Looks to see if the supplied graph is transient, and if so, spawns a NOT fully formed node (intended for template use).
This function is intended to be overridden; sub-classes may return a pre-existing node, instead of a newly allocated one (for cases where only one instance of the node type can exist). Callers should check for this case upon use.
Null if it failed to spawn a node, otherwise a newly spawned node or possibly one that already existed.
Parameter |
Description |
---|---|
ParentGraph |
The graph you want the node spawned into. |
Bindings |
|
Location |
Where you want the new node positioned in the graph. |