Navigation
API > API/Editor > API/Editor/UnrealEd
FStandardToolModeCommands provides standard commands for Tools. This allows for "sharing" common hotkey bindings between multiple EditorModes
The set of standard commands is defined by EStandardToolModeCommands. You must call FStandardToolModeCommands::Register() on module startup to register these commands (note that they may already be registered by another module, but you should call this to be safe).
Then, when you want to Bind a standard command in your FUICommandList, call FStandardToolModeCommands::Get().FindStandardCommand() to get the registered UICommandInfo.
| Name | FStandardToolModeCommands |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Tools/StandardToolModeCommands.h |
| Include Path | #include "Tools/StandardToolModeCommands.h" |
Syntax
class FStandardToolModeCommands : public TCommands< FStandardToolModeCommands >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FBindingContext → TCommands → FStandardToolModeCommands
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStandardToolModeCommands() |
Tools/StandardToolModeCommands.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< FUICommandInfo > FindStandardCommand
(
EStandardToolModeCommands Command |
Look up the UICommandInfo for a standard command | Tools/StandardToolModeCommands.h |
Overridden from TCommands
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RegisterCommands() |
Registers the set of standard commands. Call on module startup. | Tools/StandardToolModeCommands.h |