addParticle
addParticle: (particle: ParticleProps) => void
Add a particle to the collection.
If size is omitted, this.size is used.
If transparency is omitted, this.transparency is used.
@throws Error if particle size is defined and not greater than zero.
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.