FEditorModeRegistry::RegisterMode

Registers an editor mode type. Typically called from a module's StartupModule() routine.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorModeRegistry.h

Include

#include "EditorModeRegistry.h"

Syntax

template<class T>
void RegisterMode
(
    FEditorModeID ModeID,
    FText Name,
    FSlateIcon IconBrush,
    bool bVisible,
    int32 PriorityOrder
)

Remarks

Registers an editor mode type. Typically called from a module's StartupModule() routine.

Parameters

Parameter

Description

ModeID

ID of the mode to register

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