Time

Provides information about both the system clock time, and about time related to the Engine's execution.

Properties

static deltaTime number

The amount of time from the previous frame to the current frame, in seconds.

static fixedDeltaTime number

The amount of time since the last fixed step of the engine, in seconds.

static frame number

The incremented frame number since the start of the engine.

static frameRate number

The current frame rate (fps) of the engine.

static lastFixedTime number

The time since the last fixed step of the engine, in seconds.

static lastTime number

The time of the previous engine frame, in seconds.

static milliseconds number

The current system clock time, in milliseconds.

static seconds number

The current system clock time, in seconds.

static startTime number

The time at which the engine started running, in seconds.

static time number

The current time of the enigne, relative to when the engine started running, in seconds.

static timeSinceStart number

Time since the playback started, in seconds.

static unscaledTime number

If there is any scaling to the engine time, this is the unscaled time, in seconds.