Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorModeTools
Description
Adds a new default mode to this tool's list of default modes. You can have multiple default modes, but they all must be compatible with each other.
| Name | AddDefaultMode |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorModeManager.h |
| Include Path | #include "EditorModeManager.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorModeManager.cpp |
void AddDefaultMode
(
const FEditorModeID DefaultModeID
)
Parameters
| Name | Remarks |
|---|---|
| DefaultModeID | The mode ID for the new default mode |