Data representing the current cycle of the particle system's update loop.
const cycleData: CycleData = { now: performance.now(), delta: 0.016, // 16ms frame time elapsed: 1.25, // 1.25 seconds since start}; Copy
const cycleData: CycleData = { now: performance.now(), delta: 0.016, // 16ms frame time elapsed: 1.25, // 1.25 seconds since start};
The time elapsed since the last update, in seconds.
The total time elapsed since the particle system started, in seconds.
The current timestamp in milliseconds.
Data representing the current cycle of the particle system's update loop.
Example