Navigation
API > API/Editor > API/Editor/UnrealEd
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
| Type | Name | Description | |
|---|---|---|---|
| FEditorModeRegistry & | Get () |
Singleton access | |
| const FactoryMap & | Const access to the internal factory map | ||
| void | RegisterMode
(
FEditorModeID ModeID, |
Registers an editor mode. Typically called from a module's StartupModule() routine. | |
| void | RegisterMode
(
FEditorModeID ModeID, |
Registers an editor mode type. Typically called from a module's StartupModule() routine. | |
| void | UnregisterMode
(
FEditorModeID ModeID |
Unregisters an editor mode. |
Typedefs
| Name | Description |
|---|---|
| FactoryMap |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FEditorModeInfo | GetModeInfo
(
FEditorModeID ModeID |
Use UAssetEditorSubsystem::FindEditorModeInfo | |
| TArray< FEditorModeInfo > | Use UAssetEditorSubsystem::GetEditorModeInfoOrderedByPriority | ||
| FOnModeRegistered & | Use UAssetEditorSubsystem::OnEditorModeRegistered | ||
| FOnModeUnregistered & | Use UAssetEditorSubsystem::OnEditorModeUnregistered | ||
| FRegisteredModesChangedEvent & | Use UAssetEditorSubsystem::OnEditorModesChanged |