Module time

The Time module.

Info:

  • Author: Sharper Dev

Functions

Time.init () Starts the frame timer and resets deltaTime to zero.
Time.update () Stores elapsed time since the previous update in deltaTime, in seconds.

Fields

Time.deltaTime Duration of the most recently completed runtime frame, in seconds.


Functions

Time.init ()
Starts the frame timer and resets deltaTime to zero.

Usage:

    Time.init()
Time.update ()
Stores elapsed time since the previous update in deltaTime, in seconds.

Usage:

    Time.update()

Fields

Time.deltaTime
Duration of the most recently completed runtime frame, in seconds. Updated by Time.update(); initially zero.
generated by LDoc 1.5.0 Last updated 2026-10-04 12:53:32