nape-js API
    Preparing search index...

    Type Alias ParticleOverflowPolicy

    ParticleOverflowPolicy: "drop-oldest" | "drop-new"

    What to do when ParticleEmitterOptions.maxParticles is full and a new spawn is requested.

    • drop-oldest (default) — kill the oldest live particle to make room for the new one. Keeps emitter responsive (e.g. bullets always come out).
    • drop-new — silently drop the new spawn. Protects already-visible particles from churn.