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

(
    TFunction < TSharedRef < SEditorViewp ...
)

Overridden from FViewportTabContent

Name Description

Public function Virtual

void

 

SetViewportConfiguration

(
    const FName & ConfigurationName
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback