Language:
Discover
By Skill Level
By Category

SCommonEditorViewportToolbarBase

Choose your OS:

Inheritance Hierarchy

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 ...
)

SCommonEditorViewportToolbarBase .

Protected function

void

 

CreateViewMenuExtensions

(
    FMenuBuilder & MenuBuilder
)

Protected function Virtual

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

void

 

ExtendOptionsMenu

(
    FMenuBuilder & OptionsMenuBuilder
)

Extension allowing derived classes to add to the options menu.

Protected function

TSharedPtr < ...

 

GetCombinedExtenderList

(
    TSharedRef < FExtender > MenuExtende...
)

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

Protected function

ICommonEdito ...

 

GetInfoProvider()

Returns the info provider for this viewport.

Protected function Virtual

TSharedPtr < ...

 

GetViewMenuExtender()

Gets the extender for the view menu

Protected function

FEditorViewp ...

 

GetViewportClient()

Get the viewport client.

Protected function Virtual

TSharedRef < ...

 

MakeViewMenu()

Creates the view menu widget (override point for children)

Protected function Virtual

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

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/SCommonEditorViewportToolbarBase.h