color property

Color color
getter/setter pair

A color that can be composited with the image frame via ParticleField.blendMode. For example, you could modify the opacity of particles by using BlendMode.srcIn (the default) and adjusting the opacity of the particle color:

// in onTick handler:
particle.color = Colors.black.withOpacity(0.2)

Implementation

Color color;