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

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