FLevelViewportTabContent

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

Inheritance Hierarchy

References

Module

LevelEditor

Header

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

Include

#include "LevelViewportTabContent.h"

Syntax

class FLevelViewportTabContent : public FEditorViewportTabContent

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.

Destructors

Name Description

Public function

~FLevelViewportTabContent()

Functions

Name Description

Protected function

void

 

OnLayoutChanged()

Protected function

void

 

OnLayoutStartChange

(
    bool bSwitchingLayouts
)

Overridden from FEditorViewportTabContent

Name Description

Protected function Virtual

TSharedPtr< ...

 

FactoryViewportLayout

(
    bool bIsSwitchingLayouts
)

Protected function Virtual Const

FName

 

GetLayoutTypeNameFromLayoutString()

Public function Virtual

void

 

Initialize

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

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

Overridden from FViewportTabContent

Name Description

Public function Virtual

void

 

BindViewportLayoutCommands

(
    FUICommandList& InOutCommandList,
    FName ViewportConfigKey
)

Maps the common commands into the given command list for this layout to the given viewport based on the config key.

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