Most visited

Recently visited

ParticleEmitter.ParticleModifier

public static interface ParticleEmitter.ParticleModifier

com.viro.core.ParticleEmitter.ParticleModifier
Known Indirect Subclasses


ParticleModifier is used by various ParticleEmitter properties to set not only how particles will initially behave, but how they will behave over time or across distance. For example, you can use ParticleModifier with setOpacityModifier(ParticleModifierFloat) to make particles initially appear with 50% to 75% opacity, and then have their opacity decline to 20% over 4000 ms.

ParticleModifier is always constructed with the initial range for the property. You can then add time or distance intervals specifying how the property should change over time for each particle. See the ParticleModifier subclasses for details.

Hooray!