UBlueprintFieldNodeSpawner::Create

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

Unreal Engine C++ API Reference > Editor > BlueprintGraph > UBlueprintFieldNodeSpawner

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintFieldNodeSpawner.h
Include #include "BlueprintFieldNodeSpawner.h"
Source /Engine/Source/Editor/BlueprintGraph/Private/BlueprintFieldNodeSpawner.cpp
static [UBlueprintFieldNodeSpawner](API\Editor\BlueprintGraph\UBlueprintFieldNodeSpawner) * Create
(
    [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [UK2Node](API\Editor\BlueprintGraph\UK2Node) > NodeClass,
    [FFieldVariant](API\Runtime\CoreUObject\UObject\FFieldVariant) Field,
    [UObject](API\Runtime\CoreUObject\UObject\UObject) * Outer,
    [UClass](API\Runtime\CoreUObject\UObject\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. A newly allocated instance of this class.

Parameters

Name 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library