SCommonEditorViewportToolbarBase

A viewport toolbar widget for an asset or level editor that is placed in a viewport

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

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

Include

#include "SCommonEditorViewportToolbarBase.h"

Syntax

class SCommonEditorViewportToolbarBase : public SViewportToolBar

Remarks

A viewport toolbar widget for an asset or level editor that is placed in a viewport

Destructors

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs,
    TSharedPtr< class ICommonEditorView...
)

Protected function

void

 

CreateViewMenuExtensions

(
    FMenuBuilder& MenuBuilder
)

Protected function Virtual Const

void

 

ExtendLeftAlignedToolbarSlots

(
    TSharedPtr< SHorizontalBox > MainBo...,
    TSharedPtr< SViewportToolBar > Pare...
)

Extension allowing derived classes to add to left-aligned portion of the toolbar slots.

Protected function Virtual Const

void

 

ExtendOptionsMenu

(
    FMenuBuilder& OptionsMenuBuilder
)

Extension allowing derived classes to add to the options menu.

Protected function Const

TSharedPtr< ...

 

GetCombinedExtenderList

(
    TSharedRef< FExtender > MenuExtende...
)

Merges the extender list from the host with the specified extender and returns the results.

Protected function Const

ICommonEdito...

 

GetInfoProvider()

Returns the info provider for this viewport.

Protected function Const

FText

 

GetScalabilityWarningLabel()

Protected function Const

TSharedRef< ...

 

GetScalabilityWarningMenuContent()

Protected function Const

EVisibility

 

GetScalabilityWarningVisibility()

Protected function Virtual Const

bool

 

GetShowScalabilityMenu()

Protected function Virtual Const

TSharedPtr< ...

 

GetViewMenuExtender()

Gets the extender for the view menu

Protected function Const

FEditorViewp...

 

GetViewportClient()

Get the viewport client.

Protected function

TSharedRef< ...

 

MakeAssetViewerProfileComboBox()

Creates and returns the asset viewr profile combo box.

Protected function Virtual

TSharedRef< ...

 

MakeViewMenu()

Creates the view menu widget (override point for children)

Protected function

void

 

OnAssetViewerProfileComboBoxSelectionChanged

(
    TSharedPtr< FString > NewSelection,
    ESelectInfo::Type
)

Invoked when the asset viewer profile combo box selection changes.

Protected function Virtual Const

void

 

OnFOVValueChanged

(
    float NewValue
)

Called when the FOV slider is adjusted in the perspective viewport

Protected function

void

 

OnScreenPercentageValueChanged

(
    int32 NewValue
)

Called when the ScreenPercentage slider is adjusted in the viewport

Protected function

void

 

UpdateAssetViewerProfileList()

Update the list of asset viewer profiles displayed by the combo box.

Protected function

void

 

UpdateAssetViewerProfileSelection()

Classes

Name

Description

Public struct

FArguments