Navigation
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 |
virtual [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > BuildViewportLayout ( [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [SDockTab](API\Runtime\Slate\Widgets\Docking\SDockTab) > InParentDockTab, [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [FEditorViewportTabContent](API\Editor\UnrealEd\FEditorViewportTabContent) > InParentTab, const [FString](API\Runtime\Core\Containers\FString) & LayoutString )
Remarks
Builds a viewport layout and returns the widget containing the layout
Parameters
Name | 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 |