Class ParticleEmitter.GradientColorValue

    • Constructor Detail

      • GradientColorValue

        public GradientColorValue()
    • Method Detail

      • getTimeline

        public float[] getTimeline()
      • setTimeline

        public void setTimeline​(float[] timeline)
      • getColors

        public float[] getColors()
        Returns:
        the r, g and b values for every timeline position
      • setColors

        public void setColors​(float[] colors)
        Parameters:
        colors - the r, g and b values for every timeline position
      • getColor

        public float[] getColor​(float percent)
      • load

        public void load​(java.io.BufferedReader reader)
                  throws java.io.IOException
        Overrides:
        load in class ParticleEmitter.ParticleValue
        Throws:
        java.io.IOException