Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UBlueprintEventNodeSpawner
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UBlueprintEventNodeSpawner * Create
(
UFunction const*const EventFunc, |
Creates a new UBlueprintEventNodeSpawner for the specified function. | BlueprintEventNodeSpawner.h | |
static UBlueprintEventNodeSpawner * Create
(
TSubclassOf< UK2Node_Event > NodeClass, |
Creates a new UBlueprintEventNodeSpawner for custom events. | BlueprintEventNodeSpawner.h |
Create(UFunction const const, UObject )
Description
Creates a new UBlueprintEventNodeSpawner for the specified function. Does not do any compatibility checking to ensure that the function is viable as a blueprint event (do that before calling this).
| Name | Create |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintEventNodeSpawner.h |
| Include Path | #include "BlueprintEventNodeSpawner.h" |
| Source | /Engine/Source/Editor/BlueprintGraph/Private/BlueprintEventNodeSpawner.cpp |
static UBlueprintEventNodeSpawner * Create
(
UFunction const *const EventFunc,
UObject * Outer
)
A newly allocated instance of this class.
Parameters
| Name | Remarks |
|---|---|
| EventFunc | The function you want assigned to new nodes. |
| Outer | Optional outer for the new spawner (if left null, the transient package will be used). |
Create(TSubclassOf< UK2Node_Event >, FName, UObject *)
Description
Creates a new UBlueprintEventNodeSpawner for custom events. The CustomEventName can be left blank if the node will pick one itself on instantiation.
| Name | Create |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintEventNodeSpawner.h |
| Include Path | #include "BlueprintEventNodeSpawner.h" |
| Source | /Engine/Source/Editor/BlueprintGraph/Private/BlueprintEventNodeSpawner.cpp |
static UBlueprintEventNodeSpawner * Create
(
TSubclassOf < UK2Node_Event > NodeClass,
FName CustomEventName,
UObject * Outer
)
A newly allocated instance of this class.
Parameters
| Name | Remarks |
|---|---|
| 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). |