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): Promise<void>;
    isEnabled(particle): boolean;
    update(particle, delta): Promise<void>;
}

Implemented by

    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

    • Parameters

      Returns Promise<void>

    • Parameters

      Returns boolean

    • Parameters

      Returns Promise<void>