ClockStatus

interface ClockStatus
simulation/src/clock.ts:107

Members

achievedTimeScalereadonly

achievedTimeScale: number

The time scale actually being delivered, as of the last settle.

Exactly timeScale whenever the clock is keeping up — this is a ratio of ticks wanted to ticks run, not a sampled rate, so it does not wobble at 1×. Below it, the step budget is capping and the difference is being dropped. That gap is the number timeScale alone cannot tell you, and not showing it is how a 100,000× button that delivers 7.5× survives.

alphareadonly

alpha: number

Fraction of the way into the next tick, for render interpolation.

droppedTicksreadonly

droppedTicks: number

Ticks dropped because the step budget ran out, cumulative.

pausedreadonly

paused: boolean

tickreadonly

tick: Tick

timereadonly

time: number

timeScalereadonly

timeScale: number