Skip to content

Interface: FrameInfo ​

Experimental

Per-frame information. The same object is reused for every frame (no per-frame allocation), so listeners must copy fields they want to keep.

Properties ​

PropertyTypeDescription
continuousbooleanExperimental Whether the loop is in continuous mode (an animation token is held).
deltanumberExperimental ms since the previous rendered frame of the same continuous run; 0 for the first frame.
framenumberExperimental Number of frames rendered so far (1 for the first frame).
timenumberExperimental Timestamp of the frame in ms (rAF time).

Released under the MIT License.