UBlueprintComponentNodeSpawner

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

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

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

Include

#include "BlueprintComponentNodeSpawner.h"

Syntax

class UBlueprintComponentNodeSpawner : public UBlueprintNodeSpawner

Remarks

Takes care of spawning UK2Node_AddComponent nodes. Acts as the "action" portion of certain FBlueprintActionMenuItems. Evolved from FEdGraphSchemaAction_K2AddComponent.

Constructors

Name Description

Public function

UBlueprintComponentNodeSpawner

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

UBlueprintCo...

 

Create

(
    const FComponentTypeEntry& Entry
)

Creates a new UBlueprintComponentNodeSpawner for the specified class.

Public function Const

TSubclassOf<...

 

GetComponentClass()

Retrieves the component class that this configures spawned nodes with.

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

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.

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.