UBlueprintNodeSpawner::Create

Creates a new [UBlueprintNodeSpawner](API\Editor\BlueprintGraph\UBlueprintNodeSpawner) for the specified node class.

Windows
MacOS
Linux

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Public/BlueprintNodeSpawner.h

Include

#include "BlueprintNodeSpawner.h"

Source

/Engine/Source/Editor/BlueprintGraph/Private/BlueprintNodeSpawner.cpp

Syntax

static UBlueprintNodeSpawner * Create
(
    TSubclassOf< UEdGraphNode > const NodeClass,
    UObject * Outer,
    FCustomizeNodeDelegate PostSpawnDelegate
)

Remarks

Creates a new UBlueprintNodeSpawner for the specified node class. Sets the allocated spawner's NodeClass and CustomizeNodeDelegate fields from the supplied parameters.

Returns

A newly allocated instance of this class.

Parameters

Parameter

Description

NodeClass

The node type that you want the spawner to spawn.

Outer

Optional outer for the new spawner (if left null, the transient package will be used).

PostSpawnDelegate

A delegate to perform specialized node setup post-spawn.

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