FrameListener#
Type alias FrameListener
Frame Listener: ((time, elapsed) => void)
Type declaration
-
- (time, elapsed): void
-
Parameters
-
time: number
Total time in milliseconds since the start of the internal update loop.
-
elapsed: number
Elapsed time since the last run of the internal update loop.
Returns void
-
Callback function which can be registered via the FrameAPI.