Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UBlueprintFunctionNodeSpawner > API/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 &42; Create
&40;
TSubclassOf< UK2Node_CallFunction > NodeClass,
UFunction const &42;const Function,
UObject &42; Outer
&41;
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). |