Navigation
API > API/Editor > API/Editor/UnrealEd
Represents the content in a viewport tab in an editor. Each SDockTab holding viewports in an editor contains and owns one of these.
| Name | FEditorViewportTabContent |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorViewportTabContent.h |
| Include Path | #include "EditorViewportTabContent.h" |
Syntax
class FEditorViewportTabContent :
public FViewportTabContent ,
public TSharedFromThis< FEditorViewportTabContent >
Inheritance Hierarchy
- FViewportTabContent → FEditorViewportTabContent
- FSharedFromThisBase → TSharedFromThis → FEditorViewportTabContent
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AssetEditorViewportCreationFactories | TMap< FName, AssetEditorViewportFactoryFunction > | EditorViewportTabContent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ViewportCreationFactories | AssetEditorViewportCreationFactories | EditorViewportTabContent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< FEditorViewportLayout > ConstructViewportLayoutByTypeName
(
const FName& TypeName, |
EditorViewportTabContent.h | ||
TSharedPtr< SAssetEditorViewport > CreateSlateViewport
(
FName InTypeName, |
EditorViewportTabContent.h | ||
const AssetEditorViewportFactoryFunction * FindViewportCreationFactory
(
FName InTypeName |
Attempt to find a viewport creation factory function in the set of registered factory functions. | EditorViewportTabContent.h | |
const TSharedPtr< FEditorViewportLayout > GetActiveViewportLayout() |
EditorViewportTabContent.h | ||
TSharedPtr< SEditorViewport > GetFirstViewport() |
EditorViewportTabContent.h | ||
const FString & GetLayoutString() |
EditorViewportTabContent.h | ||
virtual void Initialize
(
AssetEditorViewportFactoryFunction Func, |
EditorViewportTabContent.h | ||
void RefreshViewportConfiguration() |
Refresh the current layout. Does not save config | EditorViewportTabContent.h | |
void SaveConfig() |
Save any configuration required to persist state for this viewport layout | EditorViewportTabContent.h | |
void UpdateViewportTabWidget() |
EditorViewportTabContent.h |
Overridden from FViewportTabContent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetViewportConfiguration
(
const FName& ConfigurationName |
Sets the current layout by changing the contained layout object | EditorViewportTabContent.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< FEditorViewportLayout > FactoryViewportLayout
(
bool bIsSwitchingLayouts |
EditorViewportTabContent.h | ||
virtual FName GetLayoutTypeNameFromLayoutString() |
EditorViewportTabContent.h |