Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorModeTools
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EditorModeManager.h |
| Include | #include "EditorModeManager.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorModeManager.cpp |
void ActivateMode
&40;
FEditorModeID InID,
bool bToggle
&41;
Remarks
Activates an editor mode. Shuts down all other active modes which cannot run with the passed in mode.
Parameters
| Name | Description |
|---|---|
| InID | The ID of the editor mode to activate. |
| bToggle | true if the passed in editor mode should be toggled off if it is already active. |