UBlueprintEventNodeSpawner

Takes care of spawning [UK2Node_Event](API\Editor\BlueprintGraph\UK2Node_Event) nodes.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/BlueprintEventNodeSpawner.h

Include

#include "BlueprintEventNodeSpawner.h"

Syntax

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.

Constructors

Name Description

Public function

UBlueprintEventNodeSpawner

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

UBlueprintEv...

 

Create

(
    UFunction const*const EventFun...,
    UObject* Outer
)

Creates a new UBlueprintEventNodeSpawner for the specified function.

Public function Static

UBlueprintEv...

 

Create

(
    TSubclassOf< UK2Node_Event > NodeCl...,
    FName CustomEventName,
    UObject* Outer
)

Creates a new UBlueprintEventNodeSpawner for custom events.

Public function Virtual Const

UK2Node_Even...

 

FindPreExistingEvent

(
    UBlueprint* Blueprint,
    FBindingSet const& Bindings
)

Public function Const

UFunction co...

 

GetEventFunction()

Retrieves the function that this assigns to spawned nodes (defines the event's signature).

Public function Const

bool

 

IsForCustomEvent()

Overridden from UBlueprintNodeSpawner

Name Description

Public function Virtual Const

FBlueprintNo...

 

GetSpawnerSignature()

We want to be able to compare spawners, and have a signature that is rebuildable on subsequent runs.

Public function Virtual Const

UEdGraphNode...

 

Invoke

(
    UEdGraph* ParentGraph,
    FBindingSet const& Bindings,
    FVector2D const Location
)

Takes care of spawning a node for the specified graph.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss