FLevelViewportLayout::BuildViewportLayout

Builds a viewport layout and returns the widget containing the 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

TSharedRef< SWidget > BuildViewportLayout
(
    TSharedPtr< SDockTab > InParentDockTab,
    TSharedPtr< class FLevelViewportTabContent > InParentTab,
    const FString & LayoutString,
    TWeakPtr< ILevelEditor > InParentLevelEditor
)

Remarks

Builds a viewport layout and returns the widget containing the layout

Parameters

Parameter

Description

InParentDockTab

The parent dock tab widget of this viewport configuration

InParentTab

The parent tab object

LayoutString

The layout string loaded from file to custom build the layout with

InParentLevelEditor

Optional level editor parent to use for new viewports

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