Class SpawnShapeValue
java.lang.Object
com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
com.badlogic.gdx.graphics.g3d.particles.values.SpawnShapeValue
- All Implemented Interfaces:
ResourceData.Configurable
,Json.Serializable
- Direct Known Subclasses:
MeshSpawnShapeValue
,PrimitiveSpawnShapeValue
public abstract class SpawnShapeValue
extends ParticleValue
implements ResourceData.Configurable, Json.Serializable
Encapsulate the formulas to spawn a particle on a shape.
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
active
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract SpawnShapeValue
copy()
void
init()
void
load
(AssetManager manager, ResourceData data) void
load
(ParticleValue value) void
void
save
(AssetManager manager, ResourceData data) final Vector3
abstract void
void
start()
void
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
isActive, setActive
-
Field Details
-
xOffsetValue
-
yOffsetValue
-
zOffsetValue
-
-
Constructor Details
-
SpawnShapeValue
public SpawnShapeValue() -
SpawnShapeValue
-
-
Method Details
-
spawnAux
-
spawn
-
init
public void init() -
start
public void start() -
load
- Overrides:
load
in classParticleValue
-
copy
-
write
- Specified by:
write
in interfaceJson.Serializable
- Overrides:
write
in classParticleValue
-
read
- Specified by:
read
in interfaceJson.Serializable
- Overrides:
read
in classParticleValue
-
save
- Specified by:
save
in interfaceResourceData.Configurable
-
load
- Specified by:
load
in interfaceResourceData.Configurable
-