tsParticles - v4.0.0-beta.12
    Preparing search index...
    DestroyParticle: Particle & {
        destroyBounds?: Partial<IBounds>;
        exploding?: {
            initialFillOpacity: number;
            initialSize: number;
            initialStrokeOpacity: number;
            maxSize: number;
            progress: number;
            speed: number;
        };
        options: DestroyParticlesOptions;
        splitCount?: number;
        unbreakableUntil?: number;
    }

    Destroy particle extension type

    Type Declaration

    • OptionaldestroyBounds?: Partial<IBounds>

      Destroy bounds

    • Optionalexploding?: {
          initialFillOpacity: number;
          initialSize: number;
          initialStrokeOpacity: number;
          maxSize: number;
          progress: number;
          speed: number;
      }

      Explosion state

      • initialFillOpacity: number

        Initial fill opacity

      • initialSize: number

        Initial size

      • initialStrokeOpacity: number

        Initial stroke opacity

      • maxSize: number

        Maximum size

      • progress: number

        Explosion progress

      • speed: number

        Explosion speed

    • options: DestroyParticlesOptions

      Destroy particles options

    • OptionalsplitCount?: number

      Sets the count of particles created when destroyed with split mode

    • OptionalunbreakableUntil?: number

      Timestamp until the particle becomes breakable