Skip to content

Clock

Defined in: radiance/src/core/Clock.ts:2

Time between frames, for an animation loop: getDelta() is the seconds since the last call.

new Clock(): Clock

Clock

elapsed: number = 0

Defined in: radiance/src/core/Clock.ts:5

Seconds since start(), or since the first getDelta().

getDelta(): number

Defined in: radiance/src/core/Clock.ts:12

number


start(): void

Defined in: radiance/src/core/Clock.ts:7

void