TimelineFrame

data class TimelineFrame(val status: FrameStatus, val lyricTime: Double = 0.0, val scrollTime: Double = 0.0, val clock: ClockReading? = null, val activeLines: List<Int> = emptyList(), val animatingLines: List<Int> = emptyList(), val creditsFocused: Boolean = false, val scroll: ScrollDecision? = null, val passiveScrollTop: Double? = null, val resumeAffordanceVisible: Boolean = false, val stageRoles: List<StageRole>? = null)(source)

Everything one tick decided. Line indices are into BuiltLyrics.lines.

Constructors

Link copied to clipboard
constructor(status: FrameStatus, lyricTime: Double = 0.0, scrollTime: Double = 0.0, clock: ClockReading? = null, activeLines: List<Int> = emptyList(), animatingLines: List<Int> = emptyList(), creditsFocused: Boolean = false, scroll: ScrollDecision? = null, passiveScrollTop: Double? = null, resumeAffordanceVisible: Boolean = false, stageRoles: List<StageRole>? = null)

Properties

Link copied to clipboard

Lines in the scroll's active set.

Link copied to clipboard

Lines whose animations run.

Link copied to clipboard

How the player's time was read, for a synced frame.

Link copied to clipboard

The last line has been sung and the credits hold the focus.

Link copied to clipboard

The lyric time the lines are matched against, offsets applied. Seconds.

Link copied to clipboard

Unsynced lyrics with passive scrolling on: where the view drifts to.

Link copied to clipboard

Whether to offer the way back to autoscroll.

Link copied to clipboard

Null for the stage layout, without a viewport, or while the user's scroll holds the view.

Link copied to clipboard

The lyric time the scroll is matched against, which runs ahead by the scroll offset. Seconds.

Link copied to clipboard

Stage layout: each item's role, lines first, then the credits when there are any.

Link copied to clipboard

What kind of frame it is.