Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/EdGraph > API/Runtime/Engine/EdGraph/UEdGraph > API/Runtime/Engine/EdGraph/UEdGraph/CreateNode
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 |
UEdGraphNode * CreateNode
(
TSubclassOf < UEdGraphNode > NewNodeClass,
bool bFromUI,
bool bSelectNewNode
)
Remarks
Creates an empty node in this graph. Use FGraphNodeCreator above A new graph node of the given type
Parameters
| Name | 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 |