Navigation
Unreal Engine C++ API Reference > 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](API\Editor\BlueprintGraph\UBlueprintEventNodeSpawner) * Create ( [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [UK2Node_Event](API\Editor\BlueprintGraph\UK2Node_Event) > NodeClass, [FName](API\Runtime\Core\UObject\FName) CustomEventName, [UObject](API\Runtime\CoreUObject\UObject\UObject) * Outer )
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). |