SLevelViewport::MakeImmersive

Attempts to switch this viewport into immersive mode

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IAssetViewport::MakeImmersive()

SLevelViewport::MakeImmersive()

References

Module

LevelEditor

Header

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

Include

#include "SLevelViewport.h"

Source

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

Syntax

virtual void MakeImmersive
(
    const bool bWantImmersive,
    const bool bAllowAnimation
)

Remarks

Attempts to switch this viewport into immersive mode

Parameters

Parameter

Description

bWantImmersive

Whether to switch to immersive mode, or switch back to normal mode

bAllowAnimation

True to allow animation when transitioning, otherwise false