Navigation
API > API/Editor > API/Editor/SceneOutliner
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SLeafWidget
- SImage
- SVisibilityWidget
References
| Module | SceneOutliner |
| Header | /Engine/Source/Editor/SceneOutliner/Public/SceneOutlinerGutter.h |
| Include | #include "SceneOutlinerGutter.h" |
Syntax
class SVisibilityWidget : public SImage
Remarks
Widget responsible for managing the visibility for a single item
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FSlateBrush * | NotVisibleHoveredBrush | ||
| const FSlateBrush * | NotVisibleNotHoveredBrush | ||
| const STableRow< FSceneOutlinerTreeItemPtr > * | Row | Weak pointer back to the row | |
| TUniquePtr< FScopedTransaction > | UndoTransaction | Scoped undo transaction | |
| const FSlateBrush * | VisibleHoveredBrush | Visibility brushes for the various states | |
| const FSlateBrush * | VisibleNotHoveredBrush | ||
| TWeakPtr< FSceneOutlinerGutter > | WeakColumn | Weak pointer back to the column | |
| TWeakPtr< ISceneOutliner > | WeakOutliner | Reference back to the outliner so we can set visibility of a whole selection | |
| TWeakPtr< ISceneOutlinerTreeItem > | WeakTreeItem | The tree item we relate to |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs, |
Construct this widget | |
| const FSlateBrush * | GetBrush () |
Get the brush for this widget | |
| FReply | HandleClick () |
||
| bool | IsEnabled () |
Returns whether the widget is enabled or not | |
| bool | IsVisible () |
Check if our wrapped tree item is visible | |
| bool | IsVisible
(
const FSceneOutlinerTreeItemPtr& Item, |
Check if the specified item is visible | |
| void | OnSetItemVisibility
(
ISceneOutlinerTreeItem& Item, |
Called when visibility change happens on an Item. | |
| void | SetIsVisible
(
const bool bVisible |
Set the item this widget is responsible for to be hidden or shown | |
| bool | Whether visibility change should propagate down to children. |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FSlateColor | |||
| FReply | OnDragDetected
(
const FGeometry& MyGeometry, |
Start a new drag/drop operation for this widget | |
| void | OnDragEnter
(
const FGeometry& MyGeometry, |
If a visibility drag drop operation has entered this widget, set its item to the new visibility state | |
| FReply | OnMouseButtonDoubleClick
(
const FGeometry& InMyGeometry, |
Called when a mouse button is double clicked. Override this in derived classes. | |
| FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
Called when the mouse button is pressed down on this widget | |
| FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
Process a mouse up message | |
| void | OnMouseCaptureLost
(
const FCaptureLostEvent& CaptureLostEvent |
Called when this widget had captured the mouse, but that capture has been revoked for some reason. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |