FLevelViewportLayout::RequestMaximizeViewport

Makes a request to maximize a specific viewport and hide the others in this layout

Windows
MacOS
Linux

References

Module

LevelEditor

Header

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

Include

#include "LevelViewportLayout.h"

Source

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

Syntax

void RequestMaximizeViewport
(
    FName ViewportToMaximize,
    const bool bWantMaximize,
    const bool bWantImmersive,
    const bool bAllowAnimation
)

Remarks

Makes a request to maximize a specific viewport and hide the others in this layout

Parameters

Parameter

Description

ViewportToMaximize

The viewport that should be maximized

bWantMaximize

True to maximize or false to "restore"

bWantImmersive

True to perform an "immersive" maximize, which transitions the viewport to fill the entire application window

bAllowAnimation

True if an animated transition should be used

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