UBlueprintFieldNodeSpawner::Create

Creates a new [UBlueprintFieldNodeSpawner](API\Editor\BlueprintGraph\UBlueprintFieldNodeSpawner) for the supplied field.

Windows
MacOS
Linux

References

Module

BlueprintGraph

Header

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

Include

#include "BlueprintFieldNodeSpawner.h"

Source

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

Syntax

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

Remarks

Creates a new UBlueprintFieldNodeSpawner for the supplied field. Does not do any compatibility checking to ensure that the field is viable for blueprint use.

Returns

A newly allocated instance of this class.

Parameters

Parameter

Description

NodeClass

The type of node you want the spawner to create.

Field

The field you want assigned to new nodes.

Outer

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

OwnerClass

The class that the variable is a member of or the class it is associated with if it is in a sidecar data structure.

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