UBlueprintFunctionNodeSpawner

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

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

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

Include

#include "BlueprintFunctionNodeSpawner.h"

Syntax

class UBlueprintFunctionNodeSpawner : public UBlueprintFieldNodeSpawner

Remarks

Takes care of spawning various UK2Node_CallFunction nodes. Acts as the "action" portion of certain FBlueprintActionMenuItems.

Constructors

Name Description

Public function

UBlueprintFunctionNodeSpawner

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

UBlueprintFu...

 

Create

(
    UFunction const*const Function,
    UObject* Outer
)

Creates a new UBlueprintFunctionNodeSpawner for the specified function.

Public function Static

UBlueprintFu...

 

Create

(
    TSubclassOf< UK2Node_CallFunction >...,
    UFunction const*const Function,
    UObject* Outer
)

Creates a new UBlueprintFunctionNodeSpawner for the specified function.

Public function Const

UFunction co...

 

GetFunction()

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

Overridden from UBlueprintNodeSpawner

Name Description

Public function Virtual Const

FBlueprintAc...

 

GetUiSpec

(
    FBlueprintActionContext const& Con...,
    FBindingSet const& Bindings
)

Takes the default FBlueprintActionUiSpec and modifies it dynamically to accommodate the current context.

Public function Virtual Const

UEdGraphNode...

 

Invoke

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

Takes care of spawning a node for the specified graph.

Public function Virtual

void

 

Prime()

Not required, but intended to passively help speed up menu building operations.

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

 

CanBindMultipleObjects()

Determines if this will accept more than one binding (used to block multiple bindings from being applied to nodes that can only have one).

Public function Virtual Const

bool

 

IsBindingCompatible

(
    FBindingObject BindingCandidate
)

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