Skip to content

Documentation / @debuffjp/core / FixedClockOptions

Interface: FixedClockOptions ​

Defined in: clock.ts:3

Fixed-timestep accumulator. Simulation advances in exact step increments so scenarios can replay identically; rendering receives the leftover alpha.

Properties ​

maxFrame? ​

optional maxFrame?: number

Defined in: clock.ts:7

Cap on real elapsed time per frame, to avoid a spiral after tab switches. Default 0.25s.


step? ​

optional step?: number

Defined in: clock.ts:5

Simulation step in seconds. Default 1/60.