ParticleCollectionBuilder Namespace



Name Description
ParticleCollectionBuilder.addParticle Add a particle to the collection.
ParticleCollectionBuilder.finish Produces a finished graphic from the accumulated particles.
ParticleCollectionBuilder.size The default size of each particle, used by ParticleCollectionBuilder.addParticle if ParticleProps.size is omitted.
ParticleCollectionBuilder.transparency The default transparency for newly-added particles as an integer in [0,255], used by ParticleCollectionBuilder.addParticle if ParticleProps.transparency is omitted.


Name Description
ParticleCollectionBuilder.create Creates a new ParticleCollectionBuilder.

Defined in

Last Updated: 22 February, 2021