FStandardToolModeCommands

[FStandardToolModeCommands](API\Editor\UnrealEd\Tools\FStandardToolModeCommands) provides standard commands for Tools.

Windows
MacOS
Linux

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 (

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

Name Description

Protected variable

TMap< EStandard...

 

Commands

Constructors

Name Description

Public function

FStandardToolModeCommands()

Functions

Name Description

Public function Const

TSharedPtr< ...

 

FindStandardCommand

(
    EStandardToolModeCommands Command
)

Look up the UICommandInfo for a standard command

Overridden from TCommands

Name Description

Public function Virtual

void

 

RegisterCommands()

Registers the set of standard commands. Call on module startup.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss