Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Commands/UIAction.h |
Include |
#include "Framework/Commands/UIAction.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Framework/Commands/UIAction.cpp |
FUIAction
(
FExecuteAction InitExecuteAction,
FCanExecuteAction InitCanExecuteAction,
FGetActionCheckState InitGetActionCheckStateDelegate,
FIsActionButtonVisible InitIsActionVisibleDelegate,
EUIActionRepeatMode InitRepeatMode
)
Constructor that takes delegates to initialize the action with
Parameter |
Description |
---|---|
ExecuteAction |
The delegate to call when the action should be executed |
CanExecuteAction |
The delegate to call to see if the action can be executed |
GetActionCheckState |
The delegate to call to see what the check state of the action should be |
IsActionVisible |
The delegate to call to see if the action should be visible |
RepeatMode |
Can this action can be repeated if the chord used to call it is held down? |