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

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