Navigation
API > API/Runtime > API/Runtime/Engine
Helper object to ensure a graph node is correctly constructed
Typical use pattern is: FGraphNodeCreator
| Name | FGraphNodeCreator |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraph.h |
| Include Path | #include "EdGraph/EdGraph.h" |
Syntax
template<typename NodeType>
struct FGraphNodeCreator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGraphNodeCreator
(
UEdGraph& InGraph |
EdGraph/EdGraph.h | ||
FGraphNodeCreator
(
const FGraphNodeCreator& rhs |
Hide copy and assignment operator. | EdGraph/EdGraph.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FGraphNodeCreator() |
Destructor. Ensures that finalized was called | EdGraph/EdGraph.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bPlaced | bool | If the node has placed and finalized | EdGraph/EdGraph.h | |
| Graph | UEdGraph & | Graph reference we're creating the node in | EdGraph/EdGraph.h | |
| Node | NodeType * | The created node | EdGraph/EdGraph.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
NodeType * CreateNode
(
bool bSelectNewNode, |
Create an empty placeable graph node | EdGraph/EdGraph.h | |
NodeType * CreateUserInvokedNode
(
bool bSelectNewNode, |
Create an empty placeable graph node | EdGraph/EdGraph.h | |
void Finalize() |
Call to finalize the node's construction | EdGraph/EdGraph.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGraphNodeCreator * operator=
(
const FGraphNodeCreator& rhs |
EdGraph/EdGraph.h |