Navigation
API > API/Editor > API/Editor/UnrealEd
Inheritance Hierarchy
- TSharedFromThis
- FEditorViewportLayout
- FTickableEditorObject
- FAssetEditorViewportLayout
- FLevelViewportLayout
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/AssetEditorViewportLayout.h |
| Include | #include "AssetEditorViewportLayout.h" |
Syntax
class FAssetEditorViewportLayout :
public TSharedFromThis< FAssetEditorViewportLayout >,
public FEditorViewportLayout,
public FTickableEditorObject
Remarks
Base class for viewport layout configurations Handles maximizing and restoring well as visibility of specific viewports.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FAssetEditorViewportPaneLayout > | LayoutConfiguration | ||
| TWeakPtr< SDockTab > | ParentTab | The parent tab where this layout resides | |
| TWeakPtr< FEditorViewportTabContent > | ParentTabContent | The parent tab content object where this layout resides | |
| TWeakPtr< SAssetEditorViewportsOverlay > | ViewportsOverlayPtr | The overlay widget that handles what viewports should be on top (non-maximized or maximized) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | BuildViewportLayout
(
TSharedPtr< SDockTab > InParentDockTab, |
Builds a viewport layout and returns the widget containing the layout | |
| TSharedRef< SWidget > | FactoryViewport
(
FName InTypeName, |
Create an instance of a custom viewport from the specified viewport type name | |
| TWeakPtr< FEditorViewportTabContent > | Returns the parent tab content object | ||
| EVisibility | 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 |
Overridden from FEditorViewportLayout
| Type | Name | Description | |
|---|---|---|---|
| void | FactoryPaneConfigurationFromTypeName
(
const FName& InLayoutConfigTypeName |
||
| const FName | |||
| void | LoadConfig
(
const FString& LayoutString |
||
| void | SaveConfig
(
const FString& LayoutString |
Overridden from FTickableObjectBase
| Type | Name | Description | |
|---|---|---|---|
| TStatId | GetStatId () |
Return the stat id to use for this tickable | |
| bool | IsTickable () |
Virtual that can be overloaded by the inheriting class. | |
| void | Tick
(
float DeltaTime |
FTickableEditorObject interface |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | MakeViewportLayout
(
const FString& LayoutString |
This functionality has moved to the layout configurations. Use BuildViewportLayout. |