FEditorViewportTabContent

Represents the content in a viewport tab in an editor.

Windows
MacOS
Linux

Inheritance Hierarchy

FViewportTabContent

TSharedFromThis

FEditorViewportTabContent

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorViewportTabContent.h

Include

#include "EditorViewportTabContent.h"

Syntax

class FEditorViewportTabContent :
    public FViewportTabContent,
    public TSharedFromThis< FEditorViewportTabContent >

Remarks

Represents the content in a viewport tab in an editor. Each SDockTab holding viewports in an editor contains and owns one of these.

Functions

Name Description

Public function Const

bool

 

BelongsToTab

(
    TSharedRef< class SDockTab > InPare...
)

Public function

TSharedPtr< ...

 

ConstructViewportLayoutByTypeName

(
    const FName& TypeName,
    bool bSwitchingLayouts
)

Public function Const

const TShare...

 

GetActiveViewportLayout()

Public function

TSharedPtr< ...

 

GetFirstViewport()

Public function Const

const FStrin...

 

GetLayoutString()

Public function

void

 

Initialize

(
    TFunction< TSharedRef< SEditorViewp...,
    TSharedPtr< SDockTab > InParentTab,
    const FString& InLayoutString
)

Public function Const

bool

 

IsVisible()

Returns whether the tab is currently shown

Public function Const

void

 

SaveConfig()

Save any configuration required to persist state for this viewport layout

Public function

void

 

SetViewportConfiguration

(
    TFunction< TSharedRef< SEditorViewp...,
    const FName& ConfigurationName
)

Sets the current layout by changing the contained layout object

Public function

void

 

UpdateViewportTabWidget

Overridden from FViewportTabContent

Name Description

Public function Virtual

void

 

SetViewportConfiguration

(
    const FName& ConfigurationName
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss