UBlueprintBoundEventNodeSpawner

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

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

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

Include

#include "BlueprintBoundEventNodeSpawner.h"

Syntax

class UBlueprintBoundEventNodeSpawner : public UBlueprintEventNodeSpawner

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

UBlueprintBoundEventNodeSpawner

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

UBlueprintBo...

 

Create

(
    TSubclassOf< UK2Node_Event > NodeCl...,
    FMulticastDelegateProperty* Ev...,
    UObject* Outer
)

Creates a new UBlueprintEventNodeSpawner for delegate bound events.

Public function Const

FMulticastDe...

 

GetEventDelegate()

Overridden from UBlueprintEventNodeSpawner

Name Description

Public function Virtual Const

UK2Node_Even...

 

FindPreExistingEvent

(
    UBlueprint* Blueprint,
    FBindingSet const& Bindings
)

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.

Overridden from IBlueprintNodeBinder

Name Description

Public function Virtual Const

bool

 

BindToNode

(
    UEdGraphNode* Node,
    FBindingObject Binding
)

Attempts to apply the specified binding to the supplied node.

Public function Virtual Const

bool

 

IsBindingCompatible

(
    FBindingObject BindingCandidate
)

Checks to see if the specified object can be bound by this.