Creates a clock; anything not given uses DEFAULT_CLOCK.
Simulation seconds advanced by the last SkyClock.update.
Real seconds of the last SkyClock.update, paused or not (for things like exposure adaptation).
Real seconds of the last SkyClock.update (0 while paused).
Resolved settings. Change them with SkyClock.set / SkyClock.reset.
Length of the home planet's solar day in simulation seconds, used by dayLength. Set by Sky.
Simulation seconds since J2000. Change it with SkyClock.setTime or SkyClock.setDate.
Current simulation instant.
Simulated seconds per real second right now (after dayLength and paused).
Moves time by seconds (negative goes back).
Replaces all settings (missing ones go back to defaults). Time only jumps if date changed.
Merges settings. Jumps to date only if it differs from the last date applied.
Jumps to a date (Date, ISO string or Unix ms).
Jumps to simulation seconds since J2000.
Advances time. Call once per frame.
Optionaldt: number
Real seconds since the last call. Omit to measure it with performance.now().
Simulation seconds advanced.
The simulation clock: time scale, pause, set date/time and a "day length" shortcut. Deterministic: the sky at a given SkyClock.time is always the same, however you got there.
Example