SLevelViewport::MakeImmersive

Attempts to switch this viewport into immersive mode

Unreal Engine C++ API Reference > Editor > LevelEditor > SLevelViewport

References

   
Module LevelEditor
Header /Engine/Source/Editor/LevelEditor/Public/SLevelViewport.h
Include #include "SLevelViewport.h"
Source /Engine/Source/Editor/LevelEditor/Private/SLevelViewport.cpp
virtual void MakeImmersive
(
    const bool bWantImmersive,
    const bool bAllowAnimation
)

Remarks

Attempts to switch this viewport into immersive mode

Parameters

Name Description
bWantImmersive Whether to switch to immersive mode, or switch back to normal mode
bAllowAnimation True to allow animation when transitioning, otherwise false

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library