Navigation
API > API/Editor > API/Editor/LevelEditor > API/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< SWidget > BuildViewportLayout
(
TSharedPtr< SDockTab > InParentDockTab,
TSharedPtr< FEditorViewportTabContent > InParentTab,
const 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 |