Navigation
API > API/Editor > API/Editor/UnrealEd
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SViewportToolBar
- SCommonEditorViewportToolbarBase
- SContextualAnimViewportToolBar
- SPoseSearchDatabaseViewportToolBar
- SCustomizableObjectEditorTransformViewportToolbar
- SCustomizableObjectEditorViewportToolBar
- SDataflowViewportSelectionToolBar
- STransformViewportToolBar
- SUVEditor2DViewportToolBar
- SUVEditor3DViewportToolBar
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
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| FText | GetCameraMenuLabelFromViewportType
(
const ELevelViewportType ViewportType |
Returns the label for the "Camera" tool bar menu based on based viewport type | |
| const FSlateBrush * | GetCameraMenuLabelIconFromViewportType
(
const ELevelViewportType ViewportType |
Returns the label icon for the "Camera" tool bar menu, which changes depending on the viewport type | |
| TWeakPtr< SMenuAnchor > | GetOpenMenu () |
||
| bool | IsViewModeSupported
(
EViewModeIndex ViewModeIndex |
||
| void | SetOpenMenu
(
TSharedPtr< SMenuAnchor >& NewMenu |
Sets the open menu to a new menu and closes any currently opened one |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |