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