interface IParticleUpdater {
    afterDraw?: ((particle) => void);
    beforeDraw?: ((particle) => void);
    getColorStyles?: ((particle, context, radius, opacity) => IParticleColorStyle);
    getTransformValues?: ((particle) => IParticleTransformValues);
    loadOptions?: ((options, ...sources) => void);
    particleDestroyed?: ((particle, override?) => void);
    reset?: ((particle) => void);
    init(particle): void;
    isEnabled(particle): boolean;
    update(particle, delta): void;
}

Properties

afterDraw?: ((particle) => void)

Type declaration

    • (particle): void
    • Parameters

      Returns void

beforeDraw?: ((particle) => void)

Type declaration

    • (particle): void
    • Parameters

      Returns void

getColorStyles?: ((particle, context, radius, opacity) => IParticleColorStyle)

Type declaration

getTransformValues?: ((particle) => IParticleTransformValues)

Type declaration

loadOptions?: ((options, ...sources) => void)

Type declaration

particleDestroyed?: ((particle, override?) => void)

Type declaration

    • (particle, override?): void
    • Parameters

      • particle: Particle
      • Optional override: boolean

      Returns void

reset?: ((particle) => void)

Type declaration

    • (particle): void
    • Parameters

      Returns void

Methods