UBlueprintFunctionNodeSpawner::Create

Creates a new [UBlueprintFunctionNodeSpawner](API\Editor\BlueprintGraph\UBlueprintFunctionNodeSpawner) for the specified function.

Windows
MacOS
Linux

References

Module

BlueprintGraph

Header

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

Include

#include "BlueprintFunctionNodeSpawner.h"

Source

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

Syntax

static UBlueprintFunctionNodeSpawner * Create
(
    TSubclassOf< UK2Node_CallFunction > NodeClass,
    UFunction const *const Function,
    UObject * Outer
)

Remarks

Creates a new UBlueprintFunctionNodeSpawner for the specified function. Does not do any compatibility checking to ensure that the function is viable as a blueprint function call (do that before calling this).

Returns

A newly allocated instance of this class.

Parameters

Parameter

Description

NodeClass

The type of node you want the spawner to create.

Function

The function you want assigned to new nodes.

Outer

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

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