Navigation
API > API/Editor > API/Editor/UnrealEd
Base class for viewport layout configurations Handles maximizing and restoring well as visibility of specific viewports.
| Name | FAssetEditorViewportLayout |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/AssetEditorViewportLayout.h |
| Include Path | #include "AssetEditorViewportLayout.h" |
Syntax
class FAssetEditorViewportLayout :
public TSharedFromThis< FAssetEditorViewportLayout > ,
public FEditorViewportLayout ,
public FTickableEditorObject
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FAssetEditorViewportLayout
- FEditorViewportLayout → FAssetEditorViewportLayout
- FTickableObjectBase → FTickableEditorObject → FAssetEditorViewportLayout
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAssetEditorViewportLayout() |
Constructor | AssetEditorViewportLayout.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FAssetEditorViewportLayout() |
Destructor | AssetEditorViewportLayout.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > BuildViewportLayout
(
TSharedPtr< SDockTab > InParentDockTab, |
Builds a viewport layout and returns the widget containing the layout | AssetEditorViewportLayout.h | |
virtual TSharedRef< SWidget > FactoryViewport
(
FName InTypeName, |
Create an instance of a custom viewport from the specified viewport type name | AssetEditorViewportLayout.h | |
TWeakPtr< FEditorViewportTabContent > GetParentTabContent() |
Returns the parent tab content object | AssetEditorViewportLayout.h | |
virtual TSharedRef< SWidget > MakeViewportLayout
(
const FString& LayoutString |
Sets up the layout based on the specific layout configuration implementation. | AssetEditorViewportLayout.h |
Overridden from FEditorViewportLayout
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FactoryPaneConfigurationFromTypeName
(
const FName& InLayoutConfigTypeName |
AssetEditorViewportLayout.h | ||
virtual const FName GetActivePaneConfigurationTypeName() |
AssetEditorViewportLayout.h | ||
virtual void LoadConfig
(
const FString& LayoutString |
AssetEditorViewportLayout.h | ||
virtual void SaveConfig
(
const FString& LayoutString |
AssetEditorViewportLayout.h |
Overridden from FTickableObjectBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TStatId GetStatId() |
AssetEditorViewportLayout.h | ||
virtual bool IsTickable() |
AssetEditorViewportLayout.h | ||
virtual void Tick
(
float DeltaTime |
FTickableEditorObject interface | AssetEditorViewportLayout.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EVisibility OnGetNonMaximizedVisibility() |
Delegate called to get the visibility of the non-maximized viewports The non-maximized viewports are not visible if there is a maximized viewport on top of them | AssetEditorViewportLayout.h |