Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Commands
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Commands/UICommandInfo.h |
| Include | #include "Framework/Commands/UICommandInfo.h" |
Syntax
class FUICommandInfo
Constructors
| Type | Name | Description | |
|---|---|---|---|
FUICommandInfo
(
const FName InBindingContext |
Creates and initializes a new instance. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TSharedRef< const FInputChord > | GetActiveChord
(
const EMultipleKeyBindingIndex InChordIndex |
||
| FName | |||
| FName | GetBundle () |
||
| FName | |||
| const FInputChord & | GetDefaultChord
(
const EMultipleKeyBindingIndex InChordIndex |
||
| const FText & | |||
| const TSharedRef< const FInputChord > | |||
| const FSlateIcon & | GetIcon () |
||
| const FText | GetInputText () |
Returns the friendly, localized string name of the first valid chord in the key bindings list that is required to perform the command | |
| const FText & | GetLabel () |
||
| bool | |||
| EUserInterfaceActionType | |||
| const bool | HasActiveChord
(
const FInputChord InChord |
||
| const bool | HasDefaultChord
(
const FInputChord InChord |
||
| void | MakeCommandInfo
(
const TSharedRef< class FBindingContext >& InContext, |
Utility function to make an FUICommandInfo | |
| TSharedRef< class SToolTip > | MakeTooltip
(
const TAttribute< FText >& InText, |
Makes a tooltip for this command. | |
| void | RemoveActiveChord
(
const EMultipleKeyBindingIndex InChordIndex |
Removes the active chord from this command | |
| void | SetActiveChord
(
const FInputChord& NewChord, |
Sets the new active chord for this command | |
| void | SetUseLongDisplayName
(
const bool bInUseLongDisplayName |
Sets if we should use a long display name or not | |
| void | UnregisterCommandInfo
(
const TSharedRef< class FBindingContext >& InContext, |
Utility function to unregister an FUICommandInfo |