UEdGraph::CreateNode

Creates an empty node in this graph.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "EdGraph/EdGraph.h"

Source

/Engine/Source/Runtime/Engine/Private/EdGraph/EdGraph.cpp

Syntax

UEdGraphNode * CreateNode
(
    TSubclassOf< UEdGraphNode > NewNodeClass,
    bool bFromUI,
    bool bSelectNewNode
)

Remarks

Creates an empty node in this graph. Use FGraphNodeCreator above

Returns

A new graph node of the given type

Parameters

Parameter

Description

NewNodeClass

The node class to create

bFromUI

Whether or not the node was created by the user via the UI

bSelectNewNode

Whether or not to select the new node being created

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