Module |
|
Header |
/Engine/Source/Editor/BlueprintGraph/Classes/BlueprintEventNodeSpawner.h |
Include |
#include "BlueprintEventNodeSpawner.h" |
Source |
/Engine/Source/Editor/BlueprintGraph/Private/BlueprintEventNodeSpawner.cpp |
static UBlueprintEventNodeSpawner * Create
(
TSubclassOf< UK2Node_Event > NodeClass,
FName CustomEventName,
UObject * Outer
)
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.
Parameter |
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). |