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()

Destructor. 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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback