Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UBlueprintEventNodeSpawner > API/Editor/BlueprintGraph/UBlueprintEventNodeSpawner/Create
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintEventNodeSpawner.h |
| Include | #include "BlueprintEventNodeSpawner.h" |
| Source | /Engine/Source/Editor/BlueprintGraph/Private/BlueprintEventNodeSpawner.cpp |
static UBlueprintEventNodeSpawner &42; Create
&40;
TSubclassOf< UK2Node_Event > NodeClass,
FName CustomEventName,
UObject &42; Outer
&41;
Remarks
Creates a new UBlueprintEventNodeSpawner for custom events. The CustomEventName can be left blank if the node will pick one itself on instantiation. A newly allocated instance of this class.
Parameters
| Name | Description |
|---|---|
| NodeClass | The event node type that you want this to spawn. |
| CustomEventName | The name you want assigned to the event. |
| Outer | Optional outer for the new spawner (if left null, the transient package will be used). |