Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorModeRegistry > API/Editor/UnrealEd/FEditorModeRegistry/RegisterMode
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EditorModeRegistry.h |
| Include | #include "EditorModeRegistry.h" |
template<class T>
void RegisterMode
&40;
FEditorModeID ModeID,
FText Name,
FSlateIcon IconBrush,
bool bVisible,
int32 PriorityOrder
&41;
Remarks
Registers an editor mode type. Typically called from a module's StartupModule() routine.
Parameters
| Name | Description |
|---|---|
| ModeID | ID of the mode to register |