Skip to main content

Ticker

Ticker

Simulation tick generator Dispatches "tick" every animation frame or "maxDelay" time, whichever happens to be soonest This is essentially the timing bus that all the simulation systems subscribe to for their step advancement

Kind: global class
Author: Alex Goldring
Copyright: Company Named Limited (c) 2025

ticker.clock : Clock

Kind: instance property of Ticker
Read only: true

ticker.onTick : Signal.<number>

Dispatches time delta in seconds since last tick

Kind: instance property of Ticker
Read only: true

ticker.start([maxTimeout])

Kind: instance method of Ticker

ParamType
[maxTimeout]number