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 |
void MapAction
(
const TSharedPtr< const FUICommandInfo > InUICommandInfo,
FExecuteAction ExecuteAction,
FCanExecuteAction CanExecuteAction,
FGetActionCheckState GetActionCheckState,
FIsActionButtonVisible IsVisibleDelegate,
EUIActionRepeatMode RepeatMode
)
Maps a command info to a series of delegates that are executed by a multibox or mouse/keyboard input
Parameter |
Description |
---|---|
InUICommandInfo |
The command info to map |
ExecuteAction |
The delegate to call when the command should be executed |
CanExecuteAction |
The delegate to call to see if the command can be executed |
GetActionCheckState |
The delegate to call to see what the check state of the action should be when visualized in a multibox |
IsVisibleDelegate |
The delegate to call to see if the command should appear or be hidden when visualized in a multibox |
RepeatMode |
Can this action can be repeated if the chord used to call it is held down? |