Class ParticleValue
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
-
- All Implemented Interfaces:
Json.Serializable
- Direct Known Subclasses:
GradientColorValue,NumericValue,RangedNumericValue,SpawnShapeValue
public class ParticleValue extends java.lang.Object implements Json.Serializable
It's a class which represents a value bound to the particles. Generally used by a particle controller component to find the current value of a particle property during the simulation.
-
-
Field Summary
Fields Modifier and Type Field Description booleanactive
-
Constructor Summary
Constructors Constructor Description ParticleValue()ParticleValue(ParticleValue value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisActive()voidload(ParticleValue value)voidread(Json json, JsonValue jsonData)voidsetActive(boolean active)voidwrite(Json json)
-
-
-
Constructor Detail
-
ParticleValue
public ParticleValue()
-
ParticleValue
public ParticleValue(ParticleValue value)
-
-
Method Detail
-
isActive
public boolean isActive()
-
setActive
public void setActive(boolean active)
-
load
public void load(ParticleValue value)
-
write
public void write(Json json)
- Specified by:
writein interfaceJson.Serializable
-
read
public void read(Json json, JsonValue jsonData)
- Specified by:
readin interfaceJson.Serializable
-
-