Navigation
API > API/Editor > API/Editor/UnrealEd
Overlay wrapper class so that we can cache the size of the widget It will also store the ViewportLayout data because that data can't be stored per app; it must be stored per viewport overlay in case the app that made it closes.
| Name | SAssetEditorViewportsOverlay |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/AssetEditorViewportLayout.h |
| Include Path | #include "AssetEditorViewportLayout.h" |
Syntax
class SAssetEditorViewportsOverlay : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SAssetEditorViewportsOverlay
- FSlateControlledConstruction → SWidget → SCompoundWidget → SAssetEditorViewportsOverlay
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SAssetEditorViewportsOverlay() |
Default constructor | AssetEditorViewportLayout.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedSize | FVector2D | Cache our size, so that we can use this when animating a viewport maximize/restore | AssetEditorViewportLayout.h | |
| OverlayWidget | TSharedPtr< SOverlay > | The overlay widget we're containing | AssetEditorViewportLayout.h | |
| ViewportTab | TSharedPtr< FViewportTabContent > | Reference to the owning viewport tab | AssetEditorViewportLayout.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SOverlay::FScopedWidgetSlotArguments AddSlot() |
Wraps SOverlay::AddSlot() | AssetEditorViewportLayout.h | |
void Construct
(
const FArguments& InArgs |
AssetEditorViewportLayout.h | ||
const FVector2D & GetCachedSize() |
Returns the cached size of this viewport overlay | AssetEditorViewportLayout.h | |
TSharedPtr< FViewportTabContent > GetViewportTab() |
Gets the Viewport Tab that created this overlay | AssetEditorViewportLayout.h | |
void RemoveSlot() |
Wraps SOverlay::RemoveSlot() | AssetEditorViewportLayout.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Tick
(
const FGeometry& AllottedGeometry, |
Overridden from SWidget | AssetEditorViewportLayout.h |