FLevelViewportTabContent

Represents the content in a viewport tab in the level editor.

Windows
MacOS
Linux

Inheritance Hierarchy

FViewportTabContent

TSharedFromThis

FLevelViewportTabContent

References

Module

LevelEditor

Header

/Engine/Source/Editor/LevelEditor/Public/LevelViewportTabContent.h

Include

#include "LevelViewportTabContent.h"

Syntax

class FLevelViewportTabContent :
    public FViewportTabContent,
    public TSharedFromThis< FLevelViewportTabContent >

Remarks

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

Functions

Name Description

Public function Const

bool

 

BelongsToTab

(
    TSharedRef< class SDockTab > InPare...
)

Public function Const

const FStrin...

 

GetLayoutString()

Public function Const

const TMap< ...

 

GetViewports()

Returns an array of viewports inside this tab

Public function

void

 

Initialize

(
    TSharedPtr< ILevelEditor > InParent...,
    TSharedPtr< SDockTab > InParentTab,
    const FString& InLayoutString
)

Starts the tab content object and creates the initial layout based on the layout string

Public function Const

bool

 

IsViewportConfigurationSet

(
    const FName& ConfigurationName
)

Returns whether the named layout is currently selected

Public function Const

bool

 

IsVisible()

Returns whether the tab is currently shown

Public function

void

 

RefreshViewportConfiguration()

Refresh the current layout. @note Does not save config

Public function Const

void

 

SaveConfig()

Save any configuration required to persist state for this viewport layout

Overridden from FViewportTabContent

Name Description

Public function Virtual

void

 

SetViewportConfiguration

(
    const FName& ConfigurationName
)

Sets the current layout by changing the contained layout object

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