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
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.callbacks
Deprecated
Kind: instance property of Ticker
ticker.subscribe(callback, [thisArg])
Deprecated
Kind: instance method of Ticker
Param | Type |
---|---|
callback | function |
[thisArg] | * |
ticker.unsubscribe(callback, [thisArg])
Deprecated
Kind: instance method of Ticker
Param | Type |
---|---|
callback | function |
[thisArg] | * |
ticker.start([maxTimeout])
Kind: instance method of Ticker
Param | Type |
---|---|
[maxTimeout] | number |