interface IParticleUpdater {
    afterDraw?: ((particle: Particle) => void);
    beforeDraw?: ((particle: Particle) => void);
    getColorStyles?: ((particle: Particle, context: CanvasRenderingContext2D, radius: number, opacity: number) => IParticleColorStyle);
    getTransformValues?: ((particle: Particle) => IParticleTransformValues);
    loadOptions?: ((options: ParticlesOptions, ...sources: (undefined | RecursivePartial<IParticlesOptions>)[]) => void);
    particleDestroyed?: ((particle: Particle, override?: boolean) => void);
    reset?: ((particle: Particle) => void);
    init(particle: Particle): void;
    isEnabled(particle: Particle): boolean;
    update(particle: Particle, delta: IDelta): void;
}

Implemented by

    Properties

    afterDraw?: ((particle: Particle) => void)
    beforeDraw?: ((particle: Particle) => void)
    getColorStyles?: ((particle: Particle, context: CanvasRenderingContext2D, radius: number, opacity: number) => IParticleColorStyle)
    getTransformValues?: ((particle: Particle) => IParticleTransformValues)
    loadOptions?: ((options: ParticlesOptions, ...sources: (undefined | RecursivePartial<IParticlesOptions>)[]) => void)
    particleDestroyed?: ((particle: Particle, override?: boolean) => void)
    reset?: ((particle: Particle) => void)

    Methods

    • Parameters

      Returns void

    • Parameters

      Returns boolean

    • Parameters

      Returns void