Navigation
API > API/Editor > API/Editor/UnrealEd
A simple class that represents a toolbar button in an editor viewport toolbar
| Name | SEditorViewportToolBarButton |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/SEditorViewportToolBarButton.h |
| Include Path | #include "SEditorViewportToolBarButton.h" |
Syntax
class SEditorViewportToolBarButton : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SEditorViewportToolBarButton
- FSlateControlledConstruction → SWidget → SCompoundWidget → SEditorViewportToolBarButton
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CheckedBrush | const FSlateBrush * | Cached brush to use when the button is checked | SEditorViewportToolBarButton.h | |
| IsChecked | TAttribute< bool > | Attribute used to get the state of a checkbox | SEditorViewportToolBarButton.h | |
| NormalBrush | const FSlateBrush * | Cached brush to use when the button is unchecked | SEditorViewportToolBarButton.h | |
| OnClickedDelegate | FOnClicked | Delegate to call when the button is clicked | SEditorViewportToolBarButton.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& Declaration |
SEditorViewportToolBarButton.h |