com.badlogic.gdx.graphics.g2d
Class ParticleEmitter.GradientColorValue

java.lang.Object
  extended by com.badlogic.gdx.graphics.g2d.ParticleEmitter.ParticleValue
      extended by com.badlogic.gdx.graphics.g2d.ParticleEmitter.GradientColorValue
Enclosing class:
ParticleEmitter

public static class ParticleEmitter.GradientColorValue
extends ParticleEmitter.ParticleValue


Constructor Summary
ParticleEmitter.GradientColorValue()
           
 
Method Summary
 float[] getColor(float percent)
           
 float[] getColors()
           
 float[] getTimeline()
           
 void load(BufferedReader reader)
           
 void load(ParticleEmitter.GradientColorValue value)
           
 void save(Writer output)
           
 void setColors(float[] colors)
           
 void setTimeline(float[] timeline)
           
 
Methods inherited from class com.badlogic.gdx.graphics.g2d.ParticleEmitter.ParticleValue
isActive, isAlwaysActive, load, setActive, setAlwaysActive
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParticleEmitter.GradientColorValue

public ParticleEmitter.GradientColorValue()
Method Detail

getTimeline

public float[] getTimeline()

setTimeline

public void setTimeline(float[] timeline)

getColors

public float[] getColors()

setColors

public void setColors(float[] colors)

getColor

public float[] getColor(float percent)

save

public void save(Writer output)
          throws IOException
Overrides:
save in class ParticleEmitter.ParticleValue
Throws:
IOException

load

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

load

public void load(ParticleEmitter.GradientColorValue value)


Copyright © 2014. All Rights Reserved.