| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Tools/StandardToolModeCommands.h |
Include |
#include "Tools/StandardToolModeCommands.h" |
class FStandardToolModeCommands : public TCommands< FStandardToolModeCommands >
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 (
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 | Description | |
---|---|---|
|
FStandardToolModeCommands() |
Name | Description | ||
---|---|---|---|
|
TSharedPtr< ... |
FindStandardCommand ( |
Look up the UICommandInfo for a standard command |
Name | Description | ||
---|---|---|---|
|
RegisterCommands() |
Registers the set of standard commands. Call on module startup. |