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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback