public class GradientColorValue extends ParticleValue
Modifier and Type | Field and Description |
---|---|
float[] |
timeline |
active
Constructor and Description |
---|
GradientColorValue() |
Modifier and Type | Method and Description |
---|---|
float[] |
getColor(float percent) |
void |
getColor(float percent,
float[] out,
int index) |
float[] |
getColors() |
float[] |
getTimeline() |
void |
load(GradientColorValue value) |
void |
read(Json json,
JsonValue jsonData) |
void |
setColors(float[] colors) |
void |
setTimeline(float[] timeline) |
void |
write(Json json) |
isActive, load, setActive
public float[] getTimeline()
public void setTimeline(float[] timeline)
public float[] getColors()
public void setColors(float[] colors)
public float[] getColor(float percent)
public void getColor(float percent, float[] out, int index)
public void write(Json json)
write
in interface Json.Serializable
write
in class ParticleValue
public void read(Json json, JsonValue jsonData)
read
in interface Json.Serializable
read
in class ParticleValue
public void load(GradientColorValue value)
Copyright © 2015. All rights reserved.