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