Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FUICommandList
Description
Attempts to find an action for the specified command in the current UICommandList. If it is not found, the action for the specified command is discovered in the children recursively then the parents recursively.
| Name | GetActionForCommandRecursively |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Commands/UICommandList.h |
| Include Path | #include "Framework/Commands/UICommandList.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Commands/UICommandList.cpp |
const FUIAction * GetActionForCommandRecursively
(
const TSharedRef < const FUICommandInfo > & Command,
bool bIncludeChildren,
bool bIncludeParents,
TSet< TSharedRef < const FUICommandList > > & InOutVisitedLists
) const
Parameters
| Name | Remarks |
|---|---|
| Command | The UI command for which you are discovering an action |
| bIncludeChildren | If true, children of this command list will be searched in the event that the action is not found |
| bIncludeParents | If true, parents of this command list will be searched in the event that the action is not found |
| OutVisitedLists | The set of visited lists during recursion. This is used to prevent cycles. |