Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Commands/UICommandList.h |
Include |
#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
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.
Parameter |
Description |
---|---|
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. |