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