public abstract class PrimitiveSpawnShapeValue extends SpawnShapeValue
SpawnShapeValue
values which spawn the
particles on a geometric primitive.Modifier and Type | Class and Description |
---|---|
static class |
PrimitiveSpawnShapeValue.SpawnSide |
Modifier and Type | Field and Description |
---|---|
protected float |
spawnDepth |
protected float |
spawnDepthDiff |
ScaledNumericValue |
spawnDepthValue |
protected float |
spawnHeight |
protected float |
spawnHeightDiff |
ScaledNumericValue |
spawnHeightValue |
protected float |
spawnWidth |
protected float |
spawnWidthDiff |
ScaledNumericValue |
spawnWidthValue |
protected static Vector3 |
TMP_V1 |
xOffsetValue, yOffsetValue, zOffsetValue
active
Constructor and Description |
---|
PrimitiveSpawnShapeValue() |
PrimitiveSpawnShapeValue(PrimitiveSpawnShapeValue value) |
Modifier and Type | Method and Description |
---|---|
ScaledNumericValue |
getSpawnDepth() |
ScaledNumericValue |
getSpawnHeight() |
ScaledNumericValue |
getSpawnWidth() |
boolean |
isEdges() |
void |
load(ParticleValue value) |
void |
read(Json json,
JsonValue jsonData) |
void |
setActive(boolean active) |
void |
setDimensions(float width,
float height,
float depth) |
void |
setEdges(boolean edges) |
void |
start() |
void |
write(Json json) |
copy, init, load, save, spawn, spawnAux
isActive
protected static final Vector3 TMP_V1
public ScaledNumericValue spawnWidthValue
public ScaledNumericValue spawnHeightValue
public ScaledNumericValue spawnDepthValue
protected float spawnWidth
protected float spawnWidthDiff
protected float spawnHeight
protected float spawnHeightDiff
protected float spawnDepth
protected float spawnDepthDiff
public PrimitiveSpawnShapeValue()
public PrimitiveSpawnShapeValue(PrimitiveSpawnShapeValue value)
public void setActive(boolean active)
setActive
in class ParticleValue
public boolean isEdges()
public void setEdges(boolean edges)
public ScaledNumericValue getSpawnWidth()
public ScaledNumericValue getSpawnHeight()
public ScaledNumericValue getSpawnDepth()
public void setDimensions(float width, float height, float depth)
public void start()
start
in class SpawnShapeValue
public void load(ParticleValue value)
load
in class SpawnShapeValue
public void write(Json json)
write
in interface Json.Serializable
write
in class SpawnShapeValue
public void read(Json json, JsonValue jsonData)
read
in interface Json.Serializable
read
in class SpawnShapeValue