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 boolean
active
-
Constructor Summary
Constructors Constructor Description ParticleValue()
ParticleValue(ParticleValue value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isActive()
void
load(ParticleValue value)
void
read(Json json, JsonValue jsonData)
void
setActive(boolean active)
void
write(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:
write
in interfaceJson.Serializable
-
read
public void read(Json json, JsonValue jsonData)
- Specified by:
read
in interfaceJson.Serializable
-
-