Documentation
    Preparing search index...

    Interface SteppableEmitter

    What ParticleSystem advances: anything that steps by a delta in seconds at an absolute simulation time. ParticleEmitter satisfies it.

    Structural rather than ParticleEmitter itself, for the reason AnimationSystem.Advanceable gives: the system states its actual requirement, so a future emitter kind (a GPU-backed one, a trail emitter) satisfies it without this file importing it, and a test can drive it with a three-line stub.

    interface SteppableEmitter {
        step(deltaSeconds: number, time: number): void;
    }
    Index
    • Advances the simulation by deltaSeconds at absolute simulation time time (both seconds, §7a).

      Parameters

      • deltaSeconds: number
      • time: number

      Returns void