SViewportToolBar

A level viewport toolbar widget that is placed in a viewport

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

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

Include

#include "SViewportToolBar.h"

Syntax

class SViewportToolBar : public SCompoundWidget

Remarks

A level viewport toolbar widget that is placed in a viewport

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Protected function Virtual Const

FText

 

GetCameraMenuLabelFromViewportType

(
    const ELevelViewportType ViewportTy...
)

Returns the label for the "Camera" tool bar menu based on based viewport type

Protected function Virtual Const

const FSlate...

 

GetCameraMenuLabelIconFromViewportType

(
    const ELevelViewportType ViewportTy...
)

Returns the label icon for the "Camera" tool bar menu, which changes depending on the viewport type

Public function Const

TWeakPtr< SM...

 

GetOpenMenu()

Public function Virtual Const

bool

 

IsViewModeSupported

(
    EViewModeIndex ViewModeIndex
)

Public function Const

FLinearColor

 

OnGetColorAndOpacity()

Public function

void

 

SetOpenMenu

(
    TSharedPtr< SMenuAnchor >& NewMenu
)

Sets the open menu to a new menu and closes any currently opened one

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