Skip to content

TimeData

Defined in: resource.ts:161

delta: number

Defined in: resource.ts:162


elapsed: number

Defined in: resource.ts:163


fixedAlpha: number

Defined in: resource.ts:173

Interpolation factor in [0, 1) into the current fixed step (fixedAccumulator / fixedDelta), set after the fixed-update loop each frame. Render-time systems lerp prev→current state by this to smooth fixed-step simulation (e.g. physics) onto the variable render rate.


fixedDelta: number

Defined in: resource.ts:166

Fixed-update timestep in seconds — the FixedUpdate / physics cadence.


fixedTick: number

Defined in: resource.ts:179

Monotonic count of completed FixedUpdate steps — the simulation’s own time axis (frameCount counts render frames, which vary per machine). Netcode stamps snapshots and input commands with this.


frameCount: number

Defined in: resource.ts:164