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 float
getValue()
void
load(NumericValue value)
void
read(Json json, JsonValue jsonData)
void
setValue(float value)
void
write(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:
write
in interfaceJson.Serializable
- Overrides:
write
in classParticleValue
-
read
public void read(Json json, JsonValue jsonData)
- Specified by:
read
in interfaceJson.Serializable
- Overrides:
read
in classParticleValue
-
-