OpacityFade

OpacityFade

Particle modifier that blends the opacity of particles over their lifespan by interpolating between two target levels.

Constructor

new OpacityFade(configopt)

Description:
  • Initializes an opacity fade modifier with starting and ending opacity levels.
Source:
Parameters:
Name Type Attributes Default Description
config OpacityFadeConfig <optional>
{} OpacityFade configuration options.

Extends

Classes

OpacityFade

Members

endOpacity :number

Description:
  • Opacity at particle death.
Source:
Opacity at particle death.
Type:
  • number

startOpacity :number

Description:
  • Opacity at particle emission.
Source:
Opacity at particle emission.
Type:
  • number