FGraphNodeCreator

Helper object to ensure a graph node is correctly constructed

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraph.h

Include

#include "EdGraph/EdGraph.h"

Syntax

template<typename NodeType>
struct FGraphNodeCreator

Remarks

Helper object to ensure a graph node is correctly constructed

Typical use pattern is: FNodeGraphNodeCreate<NodeType> NodeCreator(Graph); NodeType* Node = NodeCreator.CreateNode(); calls to build out node Node->MemberVar = ... NodeCreator.Finalize

Constructors

Name Description

Public function

FGraphNodeCreator

(
    UEdGraph& InGraph
)

Destructors

Name Description

Public function

~FGraphNodeCreator()

  1. Ensures that finalized was called

Functions

Name Description

Public function

NodeType ...

 

CreateNode

(
    bool bSelectNewNode
)

Create an empty placeable graph node

Public function

NodeType ...

 

CreateUserInvokedNode

(
    bool bSelectNewNode
)

Create an empty placeable graph node

Public function

void

 

Finalize()

Call to finalize the node's construction

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss