Skip to content

StepTimes

Defined in: packages/engine/src/gameplay/step.ts:145

The step’s times while profiling is on.

Property Type Description
now () => number The clock each line is timed on, in milliseconds.
samples Float64Array<ArrayBufferLike>[] The last window of milliseconds per line: recordPreviousTransforms first, then each system.
steps number Steps timed since profiling began.