Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Tools
Inheritance Hierarchy
- TSharedFromThis
- FBindingContext
- TCommands
- FStandardToolModeCommands
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Tools/StandardToolModeCommands.h |
| Include | #include "Tools/StandardToolModeCommands.h" |
Syntax
class FStandardToolModeCommands : public TCommands< FStandardToolModeCommands >
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< EStandardToolModeCommands, TSharedPtr< FUICommandInfo > > | Commands |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FUICommandInfo > | FindStandardCommand
(
EStandardToolModeCommands Command |
Look up the UICommandInfo for a standard command |
Overridden from TCommands
| Type | Name | Description | |
|---|---|---|---|
| void | Registers the set of standard commands. Call on module startup. |