Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UBlueprintNodeSpawner > API/Editor/BlueprintGraph/UBlueprintNodeSpawner/Create
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Public/BlueprintNodeSpawner.h |
| Include | #include "BlueprintNodeSpawner.h" |
| Source | /Engine/Source/Editor/BlueprintGraph/Private/BlueprintNodeSpawner.cpp |
static UBlueprintNodeSpawner &42; Create
&40;
TSubclassOf< UEdGraphNode > const NodeClass,
UObject &42; Outer,
FCustomizeNodeDelegate PostSpawnDelegate
&41;
Remarks
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.
Parameters
| Name | 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. |