Navigation
Unreal Engine C++ API Reference > Editor > BlueprintGraph > UBlueprintFunctionNodeSpawner > Create
References
Module | BlueprintGraph |
Header | /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintFunctionNodeSpawner.h |
Include | #include "BlueprintFunctionNodeSpawner.h" |
Source | /Engine/Source/Editor/BlueprintGraph/Private/BlueprintFunctionNodeSpawner.cpp |
static [UBlueprintFunctionNodeSpawner](API\Editor\BlueprintGraph\UBlueprintFunctionNodeSpawner) * Create ( [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [UK2Node_CallFunction](API\Editor\BlueprintGraph\UK2Node_CallFunction) > NodeClass, [UFunction](API\Runtime\CoreUObject\UObject\UFunction) const *const Function, [UObject](API\Runtime\CoreUObject\UObject\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). A newly allocated instance of this class.
Parameters
Name | 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). |