Class NumericValue
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
-
- com.badlogic.gdx.graphics.g3d.particles.values.NumericValue
-
- All Implemented Interfaces:
Json.Serializable
public class NumericValue extends ParticleValue
A value which contains a single float variable.
-
-
Field Summary
-
Fields inherited from class com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
active
-
-
Constructor Summary
Constructors Constructor Description NumericValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetValue()voidload(NumericValue value)voidread(Json json, JsonValue jsonData)voidsetValue(float value)voidwrite(Json json)-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
isActive, load, setActive
-
-
-
-
Method Detail
-
getValue
public float getValue()
-
setValue
public void setValue(float value)
-
load
public void load(NumericValue 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
-
-