Navigation
API > API/Editor > API/Editor/GraphEditor > API/Editor/GraphEditor/FGraphActionNode > API/Editor/GraphEditor/FGraphActionNode/AddChild
References
| Module | GraphEditor |
| Header | /Engine/Source/Editor/GraphEditor/Public/GraphActionNode.h |
| Include | #include "GraphActionNode.h" |
| Source | /Engine/Source/Editor/GraphEditor/Private/GraphActionNode.cpp |
TSharedPtr< FGraphActionNode > AddChild
(
const TSharedPtr< FEdGraphSchemaAction > & Action
)
Remarks
Inserts a new action node (and any accompanying category nodes) based off the provided Action.
NOTE: This does NOT insert the node in a sorted manner. Call SortChildren() separately or use AddChildAlphabetical The new action node.
Parameters
| Name | Description |
|---|---|
| Action | An action that you want the node to execute when picked. |