FEditorModeTools::ActivateMode

Activates an editor mode.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorModeManager.h

Include

#include "EditorModeManager.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorModeManager.cpp

Syntax

void ActivateMode
(
    FEditorModeID InID,
    bool bToggle
)

Remarks

Activates an editor mode. Shuts down all other active modes which cannot run with the passed in mode.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss