FAssetEditorViewportLayout::BuildViewportLayout

Builds a viewport layout and returns the widget containing the layout

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/AssetEditorViewportLayout.h

Include

#include "AssetEditorViewportLayout.h"

Source

/Engine/Source/Editor/UnrealEd/Private/AssetEditorViewportLayout.cpp

Syntax

TSharedRef< SWidget > BuildViewportLayout
(
    TFunction< TSharedRef< SEditorViewport >(void)> & Func,
    TSharedPtr< SDockTab > InParentDockTab,
    TSharedPtr< class FViewportTabContent > InParentTab,
    const FString & LayoutString
)

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

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