FGraphActionNode::AddChild

Inserts a new action node (and any accompanying category nodes) based off the provided ActionSet.

Unreal Engine C++ API Reference > Editor > GraphEditor > FGraphActionNode

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/GraphActionNode.h
Include #include "GraphActionNode.h"
Source /Engine/Source/Editor/GraphEditor/Private/GraphActionNode.cpp
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [FGraphActionNode](API\Editor\GraphEditor\FGraphActionNode) > AddChild
(
    [FGraphActionListBuilderBase::ActionGroup](API\Runtime\Engine\EdGraph\FGraphActionListBuilderBase\ActionGroup) const & ActionSet
)

Remarks

Inserts a new action node (and any accompanying category nodes) based off the provided ActionSet.

NOTE: This does NOT insert the node in a sorted manner. Call SortChildren() separately or use AddChildAlphabetical The new action node.

Parameters

Name Description
ActionSet A list of actions that you want the node to execute when picked.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library