UBlueprintFieldNodeSpawner

Takes care of spawning various field related nodes (nodes associated with functions, enums, structs, properties, etc.).

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

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

Include

#include "BlueprintFieldNodeSpawner.h"

Syntax

class UBlueprintFieldNodeSpawner : public UBlueprintNodeSpawner

Remarks

Takes care of spawning various field related nodes (nodes associated with functions, enums, structs, properties, etc.). Acts as the "action" portion for certain FBlueprintActionMenuItems.

Variables

Name Description

Protected variable

UClass const &#...

 

OwnerClass

The owning class to configure new nodes with.

Public variable

FSetNodeFieldDe...

 

SetNodeFieldDelegate

Callback to define how the field should be applied to new nodes

Constructors

Name Description

Public function

UBlueprintFieldNodeSpawner

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

UBlueprintFi...

 

Create

(
    TSubclassOf< UK2Node > NodeClass,
    FFieldVariant Field,
    UObject* Outer,
    UClass const* OwnerClass
)

Creates a new UBlueprintFieldNodeSpawner for the supplied field.

Public function Const

FFieldVarian...

 

GetField()

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

Protected function

void

 

SetField

(
    FFieldVariant InField
)

Sets the field for this spawner

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.

Typedefs

Name

Description

FSetNodeFieldDelegate

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