Class LineSpawnShapeValue
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
-
- com.badlogic.gdx.graphics.g3d.particles.values.SpawnShapeValue
-
- com.badlogic.gdx.graphics.g3d.particles.values.PrimitiveSpawnShapeValue
-
- com.badlogic.gdx.graphics.g3d.particles.values.LineSpawnShapeValue
-
- All Implemented Interfaces:
ResourceData.Configurable
,Json.Serializable
public final class LineSpawnShapeValue extends PrimitiveSpawnShapeValue
Encapsulate the formulas to spawn a particle on a line shape.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.badlogic.gdx.graphics.g3d.particles.values.PrimitiveSpawnShapeValue
PrimitiveSpawnShapeValue.SpawnSide
-
-
Field Summary
-
Fields inherited from class com.badlogic.gdx.graphics.g3d.particles.values.PrimitiveSpawnShapeValue
spawnDepth, spawnDepthDiff, spawnDepthValue, spawnHeight, spawnHeightDiff, spawnHeightValue, spawnWidth, spawnWidthDiff, spawnWidthValue, TMP_V1
-
Fields inherited from class com.badlogic.gdx.graphics.g3d.particles.values.SpawnShapeValue
xOffsetValue, yOffsetValue, zOffsetValue
-
Fields inherited from class com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
active
-
-
Constructor Summary
Constructors Constructor Description LineSpawnShapeValue()
LineSpawnShapeValue(LineSpawnShapeValue value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpawnShapeValue
copy()
void
spawnAux(Vector3 vector, float percent)
-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.values.PrimitiveSpawnShapeValue
getSpawnDepth, getSpawnHeight, getSpawnWidth, isEdges, load, read, setActive, setDimensions, setEdges, start, write
-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.values.SpawnShapeValue
init, load, save, spawn
-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.values.ParticleValue
isActive
-
-
-
-
Constructor Detail
-
LineSpawnShapeValue
public LineSpawnShapeValue(LineSpawnShapeValue value)
-
LineSpawnShapeValue
public LineSpawnShapeValue()
-
-
Method Detail
-
spawnAux
public void spawnAux(Vector3 vector, float percent)
- Specified by:
spawnAux
in classSpawnShapeValue
-
copy
public SpawnShapeValue copy()
- Specified by:
copy
in classSpawnShapeValue
-
-