Navigation
Unreal Engine C++ API Reference > Editor > BlueprintGraph
Inheritance Hierarchy
- UObject
- IBlueprintNodeBinder
- UBlueprintNodeSpawner
- UBlueprintEventNodeSpawner
- UAnimNotifyEventNodeSpawner
- UBlueprintBoundEventNodeSpawner
References
Module | BlueprintGraph |
Header | /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintEventNodeSpawner.h |
Include | #include "BlueprintEventNodeSpawner.h" |
Syntax
UCLASS (Transient)
class UBlueprintEventNodeSpawner : public UBlueprintNodeSpawner
Remarks
Takes care of spawning UK2Node_Event nodes. Acts as the "action" portion of certain FBlueprintActionMenuItems. Will not spawn a new event node if one associated with the specified function already exits (instead, Invoke() will return the existing one). Evolved from FEdGraphSchemaAction_K2AddEvent and FEdGraphSchemaAction_K2ViewNode.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FName | CustomEventName | The custom name to configure new event nodes with. |
![]() ![]() |
TObjectPtr< UFunction const > | EventFunc | The function to configure new nodes with. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UBlueprintEventNodeSpawner
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
UBlueprintEventNodeSpawner * | Create
(
UFunction const*const EventFunc, |
Creates a new UBlueprintEventNodeSpawner for the specified function. |
![]() ![]() |
UBlueprintEventNodeSpawner * | Create
(
TSubclassOf< UK2Node_Event > NodeClass, |
Creates a new UBlueprintEventNodeSpawner for custom events. |
![]() ![]() ![]() |
UK2Node_Event const * | FindPreExistingEvent
(
UBlueprint* Blueprint, |
|
![]() ![]() |
UFunction const * | Retrieves the function that this assigns to spawned nodes (defines the event's signature). | |
![]() ![]() |
bool |
Overridden from UBlueprintNodeSpawner
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FBlueprintNodeSignature | We want to be able to compare spawners, and have a signature that is rebuildable on subsequent runs. | |
![]() ![]() ![]() |
UEdGraphNode * | Invoke
(
UEdGraph* ParentGraph, |
Takes care of spawning a node for the specified graph. |