Returns the current time states for both global and active timelines.
Pauses the "active" time domain without affecting global time. Call when the window or app loses focus.
Resumes the "active" time domain. Adjusts for time spent paused so that active time remains continuous.
Advances the clock by one frame and computes the delta time. Call this once per render frame
The time elapsed since the previous tick (delta time), in seconds.
PronotronClock
A dual-domain clock that tracks both:
This allows animations or logic to selectively follow either time domain.
Example