Navigation
API > API/Editor > API/Editor/BlueprintGraph
Takes care of spawning various field related nodes (nodes associated with functions, enums, structs, properties, etc.). Acts as the "action" portion for certain FBlueprintActionMenuItems.
| Name | UBlueprintFieldNodeSpawner |
| Type | class |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintFieldNodeSpawner.h |
| Include Path | #include "BlueprintFieldNodeSpawner.h" |
Syntax
UCLASS (Transient)
class UBlueprintFieldNodeSpawner : public UBlueprintNodeSpawner
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintNodeSpawner → UBlueprintFieldNodeSpawner
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBlueprintFieldNodeSpawner
(
const FObjectInitializer& ObjectInitializer |
BlueprintFieldNodeSpawner.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FSetNodeFieldDelegate | TBaseDelegate_TwoParams< void, UEdGraphNode *, FFieldVariant > | BlueprintFieldNodeSpawner.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SetNodeFieldDelegate | FSetNodeFieldDelegate | Callback to define how the field should be applied to new nodes | BlueprintFieldNodeSpawner.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Field | TObjectPtr< UField > | The field to configure new nodes with. | BlueprintFieldNodeSpawner.h | |
| Property | TFieldPath< FProperty > | BlueprintFieldNodeSpawner.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFieldVariant GetField() |
Retrieves the field that this assigns to spawned nodes (defines the node's signature). | BlueprintFieldNodeSpawner.h |
Overridden from UBlueprintNodeSpawner
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FBlueprintNodeSignature GetSpawnerSignature () |
We want to be able to compare spawners, and have a signature that is rebuildable on subsequent runs. | BlueprintFieldNodeSpawner.h | |
virtual UEdGraphNode * Invoke
(
UEdGraph* ParentGraph, |
Takes care of spawning a node for the specified graph. | BlueprintFieldNodeSpawner.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetField
(
FFieldVariant InField |
Sets the field for this spawner | BlueprintFieldNodeSpawner.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UBlueprintFieldNodeSpawner * Create
(
TSubclassOf< UK2Node > NodeClass, |
Creates a new UBlueprintFieldNodeSpawner for the supplied field. | BlueprintFieldNodeSpawner.h |