FLevelViewportLayout::RequestMaximizeViewport

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

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

References

   
Module LevelEditor
Header /Engine/Source/Editor/LevelEditor/Public/LevelViewportLayout.h
Include #include "LevelViewportLayout.h"
Source /Engine/Source/Editor/LevelEditor/Private/LevelViewportLayout.cpp
void RequestMaximizeViewport
(
    [FName](API\Runtime\Core\UObject\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

Name 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library