FUIAction::FUIAction

Constructor that takes delegates to initialize the action with

Windows
MacOS
Linux

References

Module

Slate

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

Syntax

FUIAction
(
    FExecuteAction InitExecuteAction,
    FCanExecuteAction InitCanExecuteAction,
    FIsActionChecked InitIsCheckedDelegate,
    FIsActionButtonVisible InitIsActionVisibleDelegate,
    EUIActionRepeatMode InitRepeatMode
)

Remarks

Constructor that takes delegates to initialize the action with

Parameters

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

IsCheckedDelegate

The delegate to call to see if the action should appear checked when visualized

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?

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss