Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UBlueprintFieldNodeSpawner
Description
Creates a new UBlueprintFieldNodeSpawner for the supplied field. Does not do any compatibility checking to ensure that the field is viable for blueprint use.
| Name | Create |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintFieldNodeSpawner.h |
| Include Path | #include "BlueprintFieldNodeSpawner.h" |
| Source | /Engine/Source/Editor/BlueprintGraph/Private/BlueprintFieldNodeSpawner.cpp |
static UBlueprintFieldNodeSpawner * Create
(
TSubclassOf < UK2Node > NodeClass,
FFieldVariant Field,
UObject * Outer,
UClass const * OwnerClass
)
A newly allocated instance of this class.
Parameters
| Name | Remarks |
|---|---|
| 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. |