Navigation
API > API/Editor > API/Editor/Sequencer
Inheritance Hierarchy
- ITimeSliderController
- TSharedFromThis
- FSequencerTimeSliderController
References
| Module | Sequencer |
| Header | /Engine/Source/Editor/Sequencer/Public/SequencerTimeSliderController.h |
| Include | #include "SequencerTimeSliderController.h" |
Syntax
class FSequencerTimeSliderController :
public ITimeSliderController ,
public TSharedFromThis< FSequencerTimeSliderController >
Remarks
A time slider controller for sequencer Draws and manages time data for a Sequencer
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSequencerTimeSliderController
(
const FTimeSliderArgs& InArgs, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ClampViewRange
(
double& NewRangeMin, |
Clamp the given range to the clamp range | |
| float | DetermineOptimalSpacing
(
float InPixelsPerInput, |
Determines the optimal spacing between tick marks in the slider for a given pixel density Increments until a minimum amount of slate units specified by MinTick is reached | |
| FReply | OnMouseButtonDown
(
SWidget& WidgetOwner, |
||
| FReply | OnMouseButtonUp
(
SWidget& WidgetOwner, |
||
| FReply | OnMouseMove
(
SWidget& WidgetOwner, |
||
| FReply | OnMouseWheel
(
SWidget& WidgetOwner, |
||
| void | PanByDelta
(
float InDelta |
Pan the range by a given delta | |
| void | Set that's evaluating | ||
| bool | ZoomByDelta
(
float InDelta, |
Zoom the range by a given delta. |
Overridden from ITimeSliderController
| Type | Name | Description | |
|---|---|---|---|
| FAnimatedRange | Get the current clamp range for this controller in seconds. | ||
| FFrameRate | End ITimeSliderController Interface Get the current play rate for this controller | ||
| ETimeSliderPlaybackStatus | Get the playback status for the controller, by default it is ETimeSliderPlaybackStatus::Stopped | ||
| TRange< FFrameNumber > | GetPlayRange () |
Get the current play range for this controller | |
| FFrameTime | Get the current time for the Scrub handle which indicates what range is being evaluated. | ||
| TRange< FFrameNumber > | Get the selection range | ||
| FFrameRate | Get the current tick resolution for this controller | ||
| TRange< FFrameNumber > | Get the time bounds for this controller. The time bounds should be a subset of the playback range. | ||
| FAnimatedRange | GetViewRange () |
Get the current view range for this controller | |
| FCursorReply | OnCursorQuery
(
TSharedRef< const SWidget > WidgetOwner, |
||
| FReply | OnMouseButtonDoubleClick
(
TSharedRef< const SWidget > WidgetOwner, |
||
| int32 | OnPaintTimeSlider
(
bool bMirrorLabels, |
ITimeSliderController Interface | |
| int32 | OnPaintViewArea
(
const FGeometry& AllottedGeometry, |
Draws major tick lines in the section view | |
| FReply | OnTimeSliderMouseMove
(
SWidget& OwnerWidget, |
||
| void | SetClampRange
(
double NewRangeMin, |
Set a new clamp range based on a min, max | |
| void | SetPlaybackStatus
(
ETimeSliderPlaybackStatus InStatus |
Set the playback status for the controller | |
| void | SetPlayRange
(
FFrameNumber RangeStart, |
Set a new playback range based on a min, max | |
| void | SetScrubPosition
(
FFrameTime InTime, |
Get the current time for the Scrub handle which indicates what range is being evaluated. | |
| void | SetSelectionRange
(
const TRange< FFrameNumber >& NewRange |
Set a new selection range | |
| void | SetViewRange
(
double NewRangeMin, |
Set a new range based on a min, max and an interpolation mode |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDrawTickArgs | |||
| FScrubberMetrics | |||
| FScrubRangeToScreen | Utility struct for converting between scrub range space and local/absolute screen space |
Enums
| Type | Name | Description | |
|---|---|---|---|
| DragType | If we are dragging a scrubber or dragging to set the time range |