ClockOptions
Index
Properties
Properties
optionalmaxFps
optionalonFatalException
Optionally define the fatal exception handler, used if an error is thrown in tick
Type declaration
Parameters
e: unknown
Returns any
tick
Define the function you'd like the clock to tick when it is started
Type declaration
Parameters
elapsed: number
Returns any
Optionally limit the maximum FPS of the clock