1
ModuleApiGameLibFrameCycle
Mees van der Wijk edited this page 2025-08-09 18:01:16 +02:00

ModuleApi - GameLib FrameCycle

Simple object used to perform time calculations for sychronized rendering across clients.

Structure

{
   	"startTimestamp": 1754754260809,
	"frameInterval": 1000 / 60,
	"totalFrames": 10
}

Attribute Type Description
startTimestamp number The start timestamp of the frame cycle in milliseconds.
frameInterval number The interval between frames in milliseconds.
totalFrames number The total number of frames in the cycle.
(Optional) startFrame number The start frame of the cycle.