Class RangedNumericValue
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
-
- com.badlogic.gdx.graphics.g3d.particles.values.RangedNumericValue
-
- All Implemented Interfaces:
Json.Serializable
- Direct Known Subclasses:
ScaledNumericValue
public class RangedNumericValue extends ParticleValue
A value which has a defined minimum and maximum bounds.
-
-
Field Summary
-
Fields inherited from class com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
active
-
-
Constructor Summary
Constructors Constructor Description RangedNumericValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetLowMax()floatgetLowMin()voidload(RangedNumericValue value)floatnewLowValue()voidread(Json json, JsonValue jsonData)voidsetLow(float value)voidsetLow(float min, float max)voidsetLowMax(float lowMax)voidsetLowMin(float lowMin)voidwrite(Json json)-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
isActive, load, setActive
-
-
-
-
Method Detail
-
newLowValue
public float newLowValue()
-
setLow
public void setLow(float value)
-
setLow
public void setLow(float min, float max)
-
getLowMin
public float getLowMin()
-
setLowMin
public void setLowMin(float lowMin)
-
getLowMax
public float getLowMax()
-
setLowMax
public void setLowMax(float lowMax)
-
load
public void load(RangedNumericValue value)
-
write
public void write(Json json)
- Specified by:
writein interfaceJson.Serializable- Overrides:
writein classParticleValue
-
read
public void read(Json json, JsonValue jsonData)
- Specified by:
readin interfaceJson.Serializable- Overrides:
readin classParticleValue
-
-