FEditorModeRegistry

A registry of editor modes and factories

Windows
MacOS
Linux

References

Module

UnrealEd

Header

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

Include

#include "EditorModeRegistry.h"

Syntax

class FEditorModeRegistry

Remarks

A registry of editor modes and factories

Functions

Name Description

Public function Static

FEditorModeR...

 

Get()

Singleton access

Public function Const

const Factor...

 

GetFactoryMap()

Const access to the internal factory map

Public function

void

 

RegisterMode

(
    FEditorModeID ModeID,
    TSharedRef< IEditorModeFactory > Fa...
)

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

Public function

void

 

RegisterMode

(
    FEditorModeID ModeID,
    FText Name,
    FSlateIcon IconBrush,
    bool bVisible,
    int32 PriorityOrder
)

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

Public function

void

 

UnregisterMode

(
    FEditorModeID ModeID
)

Unregisters an editor mode.

Typedefs

Name

Description

FactoryMap

Deprecated Functions

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