Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorModeRegistry
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RegisterMode
(
FEditorModeID ModeID, |
Registers an editor mode. Typically called from a module's StartupModule() routine. | EditorModeRegistry.h | |
void RegisterMode
(
FEditorModeID ModeID, |
Registers an editor mode type. Typically called from a module's StartupModule() routine. | EditorModeRegistry.h |
RegisterMode(FEditorModeID, TSharedRef< IEditorModeFactory >)
Description
Registers an editor mode. Typically called from a module's StartupModule() routine.
| Name | RegisterMode |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorModeRegistry.h |
| Include Path | #include "EditorModeRegistry.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorModeRegistry.cpp |
void RegisterMode
(
FEditorModeID ModeID,
TSharedRef < IEditorModeFactory > Factory
)
Parameters
| Name | Remarks |
|---|---|
| ModeID | ID of the mode to register |
RegisterMode(FEditorModeID, FText, FSlateIcon, bool, int32)
Description
Registers an editor mode type. Typically called from a module's StartupModule() routine.
| Name | RegisterMode |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorModeRegistry.h |
| Include Path | #include "EditorModeRegistry.h" |
template<class T>
void RegisterMode
(
FEditorModeID ModeID,
FText Name,
FSlateIcon IconBrush,
bool bVisible,
int32 PriorityOrder
)
Parameters
| Name | Remarks |
|---|---|
| ModeID | ID of the mode to register |