|
TachyonUI 1.1.0
High-performance UI for building tools.
|
What a Timeline covers. The markers are only read during the call. More...
#include <gui_controls/gui_timeline_types.h>
Public Attributes | |
| float | duration = 0.0f |
| the length, in seconds: the scrubber's right end | |
| float | fps = 30.0f |
| frames per second: a step's length, and the frame number shown; 0 or less: no frames | |
| float | progress = -1.0f |
| How far the content is ready, in seconds: a simulation's frames computed so far, drawn as a fill along the scrubber. | |
| std::span< const float > | markers |
| checkpoints, in seconds: a line each on the scrubber | |
| TimelineRange | loopRange |
| Where looping playback goes round: from its end back to its start. | |
What a Timeline covers. The markers are only read during the call.
| float tachyon::TimelineOptions::duration = 0.0f |
the length, in seconds: the scrubber's right end
| float tachyon::TimelineOptions::fps = 30.0f |
frames per second: a step's length, and the frame number shown; 0 or less: no frames
| float tachyon::TimelineOptions::progress = -1.0f |
How far the content is ready, in seconds: a simulation's frames computed so far, drawn as a fill along the scrubber.
Below 0: no fill.
| std::span<const float> tachyon::TimelineOptions::markers |
checkpoints, in seconds: a line each on the scrubber
| TimelineRange tachyon::TimelineOptions::loopRange |
Where looping playback goes round: from its end back to its start.
Empty (the default): the whole length.