FEditorModeRegistry::RegisterMode

Registers an editor mode. 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"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorModeRegistry.cpp

Syntax

void RegisterMode
(
    FEditorModeID ModeID,
    TSharedRef< IEditorModeFactory > Factory
)

Remarks

Registers an editor mode. 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