Package-level declarations

A small 2D canvas particle engine: a view, a system, a shared particle pool and a config of randomized ranges. ArEmitterNode renders it in AR; integrators rarely use it directly.

Types

Link copied to clipboard

Updates the matrix of an existing ColorMatrixColorFilter in place, through reflection on its setColorMatrix method, so a particle can reuse one filter object every frame.

Link copied to clipboard
class Particle

One particle of a ParticleSystem: its image, position, motion and color, advanced over its lifetime by update and drawn by draw. Obtained from and returned to ParticlePool.

Link copied to clipboard

Process-wide pool of reusable Particle objects, shared by all particle systems.

Link copied to clipboard

A 2D particle emitter drawn by a ParticleSystemView.

Link copied to clipboard

Parameters for new particles of a ParticleSystem.

Link copied to clipboard
class ParticleSystemView : View

Android view that draws one or more ParticleSystems.