Navigation
API > API/Developer > API/Developer/ToolWidgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SSimpleTimeSlider
References
| Module | ToolWidgets |
| Header | /Engine/Source/Developer/ToolWidgets/Public/SSimpleTimeSlider.h |
| Include | #include "SSimpleTimeSlider.h" |
Syntax
class SSimpleTimeSlider : public SCompoundWidget
Variables
| Type | Name | Description | |
|---|---|---|---|
| TAttribute< bool > | AllowPan | ||
| TAttribute< bool > | AllowZoom | ||
| bool | bDraggingScrubber | If we are dragging the scrubber | |
| bool | bPanning | If we are currently panning the panel | |
| TAttribute< TRange< double > > | ClampRange | ||
| TAttribute< FLinearColor > | ClampRangeHighlightColor | ||
| TAttribute< float > | ClampRangeHighlightSize | ||
| const FSlateBrush * | CursorBackground | Brush for drawing cursor background to visualize cursor size | |
| TAttribute< float > | CursorSize | ||
| FVector2D | DesiredSize | ||
| float | DistanceDragged | Total mouse delta during dragging | |
| TAttribute< bool > | MirrorLabels | ||
| FOnScrubPositionChanged | OnScrubPositionChanged | ||
| FOnRangeChanged | OnViewRangeChanged | ||
| TSharedPtr< SScrollBar > | Scrollbar | ||
| const FSlateBrush * | ScrubHandleDown | Brush for drawing a downwards facing scrub handle | |
| const FSlateBrush * | ScrubHandleUp | Brush for drawing an upwards facing scrub handle | |
| TAttribute< double > | ScrubPosition | ||
| FVector2D | SoftwareCursorPosition | ||
| TAttribute< double > | TimeSnapInterval | ||
| TAttribute< TRange< double > > | ViewRange |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CommitScrubPosition
(
float NewValue, |
Call this method when the user's interaction has changed the scrub position | |
| void | Construct
(
const FArguments& InArgs |
Construct the widget | |
| void | DrawTicks
(
FSlateWindowElementList& OutDrawElements, |
Draws time tick marks | |
| float | GetTimeAtCursorPosition
(
const FGeometry& MyGeometry, |
||
| TRange< double > | GetTimeRange () |
||
| bool | IsPanning () |
||
| int32 | OnPaintTimeSlider
(
bool bMirrorLabels, |
||
| void | SetClampRange
(
double MinValue, |
||
| void | SetTimeRange
(
double MinValue, |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float LayoutScaleMultiplier |
Compute the ideal size necessary to display this widget. | |
| FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse button was release within it. | |
| FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse moved within it. | |
| FReply | OnMouseWheel
(
const FGeometry& MyGeometry, |
Called when the mouse wheel is spun. This event is bubbled. | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. | |
| FReply | OnPreviewMouseButtonDown
(
const FGeometry& MyGeometry, |
Just like OnMouseButtonDown, but tunnels instead of bubbling. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments | |||
| FDrawTickArgs | |||
| FScrubRangeToScreen | Utility struct for converting between scrub range space and local/absolute screen space |
Typedefs
| Name | Description |
|---|---|
| FOnRangeChanged | |
| FOnScrubPositionChanged |