FLevelEditorModule::GoImmersiveWithActiveLevelViewport

Takes the first active viewport and switches it to immersive mode.

Choose your operating system:

Windows

macOS

Linux

References

Module

LevelEditor

Header

/Engine/Source/Editor/LevelEditor/Public/LevelEditor.h

Include

#include "LevelEditor.h"

Source

/Engine/Source/Editor/LevelEditor/Private/LevelEditor.cpp

Syntax

virtual void GoImmersiveWithActiveLevelViewport
(
    const bool bForceGameView
)

Remarks

Takes the first active viewport and switches it to immersive mode. Designed to be called at editor startup. Optionally forces the viewport into game view mode too.