Module |
|
Header |
/Engine/Source/Editor/BlueprintGraph/Public/BlueprintNodeSpawner.h |
Include |
#include "BlueprintNodeSpawner.h" |
Source |
/Engine/Source/Editor/BlueprintGraph/Private/BlueprintNodeSpawner.cpp |
static UBlueprintNodeSpawner * Create
(
TSubclassOf< UEdGraphNode > const NodeClass,
UObject * Outer,
FCustomizeNodeDelegate PostSpawnDelegate
)
Creates a new UBlueprintNodeSpawner for the specified node class. Sets the allocated spawner's NodeClass and CustomizeNodeDelegate fields from the supplied parameters.
A newly allocated instance of this class.
Parameter |
Description |
---|---|
NodeClass |
The node type that you want the spawner to spawn. |
Outer |
Optional outer for the new spawner (if left null, the transient package will be used). |
PostSpawnDelegate |
A delegate to perform specialized node setup post-spawn. |