Navigation
API > API/Editor > API/Editor/EditorFramework
| Name | SDepthBar |
| Type | class |
| Header File | /Engine/Source/Editor/EditorFramework/Public/Viewports/SDepthBar.h |
| Include Path | #include "Viewports/SDepthBar.h" |
Syntax
class SDepthBar : public SPanel
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SPanel → SDepthBar
- FSlateControlledConstruction → SWidget → SPanel → SDepthBar
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SDepthBar() |
Viewports/SDepthBar.h |
Classes
| Name | Remarks |
|---|---|
| FDepthIndicatorSlot | A slot that is placed along the depth bar, representing a range within the depth space |
Structs
| Name | Remarks |
|---|---|
| FArguments | |
| FBarPositions | |
| FDepthLabelSlot | Depth label slots are displayed next to the bar. |
| FDepthSpace |
Enums
Public
| Name | Remarks |
|---|---|
| EMode |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FGetBarPosition | TBaseDelegate_OneParam< float, const FBarPositions &BarPositions > | Viewports/SDepthBar.h | |
| FOnDepthChanged | TBaseDelegate_OneParam< void, const TOptional< double > & > | Viewports/SDepthBar.h | |
| FScopedWidgetDepthIndicatorSlotArguments | TPanelChildren< FDepthIndicatorSlot >::FScopedWidgetSlotArguments | Viewports/SDepthBar.h | |
| FScopedWidgetDepthLabelSlotArguments | TPanelChildren< FDepthLabelSlot >::FScopedWidgetSlotArguments | Viewports/SDepthBar.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllChildren | FCombinedChildren | Viewports/SDepthBar.h | ||
| DepthIndicatorChildren | TPanelChildren< FDepthIndicatorSlot > | Viewports/SDepthBar.h | ||
| DepthLabelChildren | TPanelChildren< FDepthLabelSlot > | Viewports/SDepthBar.h | ||
| DepthSpace | TAttribute< TOptional< FDepthSpace > > | Viewports/SDepthBar.h | ||
| DragPosition | FVector2D | Viewports/SDepthBar.h | ||
| DragTarget | EDragTarget | Viewports/SDepthBar.h | ||
| FarPlane | TAttribute< TOptional< double > > | Viewports/SDepthBar.h | ||
| HoverTarget | EDragTarget | Viewports/SDepthBar.h | ||
| Mode | TAttribute< EMode > | Viewports/SDepthBar.h | ||
| NearPlane | TAttribute< TOptional< double > > | Viewports/SDepthBar.h | ||
| OnFarPlaneChanged | FOnDepthChanged | Viewports/SDepthBar.h | ||
| OnNearPlaneChanged | FOnDepthChanged | Viewports/SDepthBar.h | ||
| StartDragPosition | FVector2D | Store drag position as doubles rather than floats to handle precision drags on very large worlds. | Viewports/SDepthBar.h | |
| Style | PRAGMA_DISABLE_EXPERIMENTAL_WARNINGS const FDepthBarStyle * | Viewports/SDepthBar.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedWidgetDepthIndicatorSlotArguments AddDepthIndicatorSlot() |
Viewports/SDepthBar.h | ||
void ClearDepthIndicators() |
Viewports/SDepthBar.h | ||
void Construct
(
const FArguments& InArgs |
Viewports/SDepthBar.h | ||
FDepthIndicatorSlot & GetDepthIndicatorSlot
(
int32 Index |
Viewports/SDepthBar.h | ||
const FDepthIndicatorSlot & GetDepthIndicatorSlot
(
int32 Index |
Viewports/SDepthBar.h | ||
FScopedWidgetDepthIndicatorSlotArguments InsertDepthIndicatorSlot
(
int32 Index |
Viewports/SDepthBar.h | ||
virtual void OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Viewports/SDepthBar.h | ||
virtual FCursorReply OnCursorQuery
(
const FGeometry& MyGeometry, |
Viewports/SDepthBar.h | ||
virtual FReply OnMouseButtonDoubleClick
(
const FGeometry& InMyGeometry, |
Viewports/SDepthBar.h | ||
virtual FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
Viewports/SDepthBar.h | ||
virtual FReply OnMouseButtonUp
(
const FGeometry& MyGeometry, |
Viewports/SDepthBar.h | ||
virtual void OnMouseLeave
(
const FPointerEvent& MouseEvent |
Viewports/SDepthBar.h | ||
virtual FReply OnMouseMove
(
const FGeometry& MyGeometry, |
Viewports/SDepthBar.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float LayoutScaleMultiplier |
Viewports/SDepthBar.h | ||
virtual FChildren * GetChildren() |
Viewports/SDepthBar.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
Viewports/SDepthBar.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FDepthIndicatorSlot::FSlotArguments Slot() |
Viewports/SDepthBar.h |