TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::TimelineState Struct Reference

Where playback is: what a Timeline shows and edits. More...

#include <gui_controls/gui_timeline_types.h>

Public Member Functions

bool operator== (const TimelineState &) const =default

Public Attributes

float time = 0.0f
 the playhead, in seconds from the start
bool playing = false
 moving on by itself (AdvanceTimeline)
bool loop = false
 at the end, back to the start instead of stopping

Detailed Description

Where playback is: what a Timeline shows and edits.

Keep it in the app, from frame to frame; AdvanceTimeline moves it on while it plays.

Member Function Documentation

◆ operator==()

bool tachyon::TimelineState::operator== ( const TimelineState & ) const
default

Member Data Documentation

◆ time

float tachyon::TimelineState::time = 0.0f

the playhead, in seconds from the start

◆ playing

bool tachyon::TimelineState::playing = false

moving on by itself (AdvanceTimeline)

◆ loop

bool tachyon::TimelineState::loop = false

at the end, back to the start instead of stopping


The documentation for this struct was generated from the following file: