Reference deltaTime

deltaTime

A Number variable that tracks the number of milliseconds it took to draw the last frame.

deltaTime contains the amount of time it took draw() to execute during the previous frame. It's useful for simulating physics.

Examples

This page is generated from the comments in src/core/environment.js . Please feel free to edit it and submit a pull request!

Related References