Class: ParticlePropertyAnimator

ParticlePropertyAnimator

particle.ParticlePropertyAnimator

new ParticlePropertyAnimator(propName, curve, scale)

Animates an arbitrary property on particles.
Parameters:
Name Type Description
propName String The name of the property to animate.
curve AnimationCurve The animation curve that defines the animation.
scale Number A scalar by which to multiply the AnimationCurve.
Source:

Methods

update(emitter, particle)

Called as part of the particle plugin lifecycle. Update is called every frame to update a particle.
Parameters:
Name Type Description
emitter ParticleEmitter The ParticleEmitter instance.
particle Particle The particle to act on.
Source: