Navigation
API > API/Plugins > API/Plugins/SlateScriptingCommands
The data defining a scripting command. At the exception of its delegates.
| Name | FScriptingCommandInfo |
| Type | struct |
| Header File | /Engine/Plugins/Slate/SlateScripting/Source/SlateScriptingCommands/Public/UICommandsScriptingSubsystem.h |
| Include Path | #include "UICommandsScriptingSubsystem.h" |
Syntax
USTRUCT (BlueprintType )
struct FScriptingCommandInfo
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ContextName | FName | The editor context this command is bound to | UICommandsScriptingSubsystem.h |
|
| Description | FText | The description of the command | UICommandsScriptingSubsystem.h |
|
| InputChord | FInputChord | The input chord to bound to the command | UICommandsScriptingSubsystem.h |
|
| Label | FText | The command label or what name will be displayed for it | UICommandsScriptingSubsystem.h |
|
| Name | FName | The command name. Must be unique in its set. | UICommandsScriptingSubsystem.h |
|
| Set | FName | The command set this command belongs to. | UICommandsScriptingSubsystem.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Equals
(
const FScriptingCommandInfo& InCommandInfo, |
Compares this command info with the given one per context, set, name and optionally input chord | UICommandsScriptingSubsystem.h | |
FName GetFullName() |
Builds a full name in the format context.set.command_name to avoid conflicts with commands registered in different contexts/sets | UICommandsScriptingSubsystem.h |