Z.currentFrameTime( )

Studio

Z.currentFrameTime( )

Z.currentFrameTime() : number

Returns

The time of the current frame in milliseconds since the experience first initialised.

The time returned is consistent with that passed to any Z.on("frame", (ms: number) => void) event handlers.

Open in new window