SCommonEditorViewportToolbarBase

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

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

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 Virtual

TSharedRef< ...

 

MakeViewMenu()

Creates the view menu widget (override point for children)

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

Classes

Name

Description

Public struct

FArguments

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