Class ParticleScaleAffector


  • public abstract class ParticleScaleAffector
    extends Object
    Scale to apply on a particle emitter.
    Author:
    Grégory Van Den Borre
    • Constructor Detail

      • ParticleScaleAffector

        protected ParticleScaleAffector()
        Simple constructor.
    • Method Detail

      • setScale

        public final void setScale​(int width,
                                   int height)
        Apply a scale modifier to the particle system.
        Parameters:
        width - Width value.
        height - Height value.
      • setScaleImpl

        protected abstract void setScaleImpl​(int width,
                                             int height)
        Apply a scale modifier to the particle system in implementation.
        Parameters:
        width - Width value.
        height - Height value.