FLevelViewportLayout::MaximizeViewport

Maximizes a specific viewport and hides 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 MaximizeViewport
(
    FName ViewportToMaximize,
    const bool bWantMaximize,
    const bool bWantImmersive,
    const bool bAllowAnimation
)

Remarks

Maximizes a specific viewport and hides 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