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, zOffsetValueactive| 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, spawnAuxisActiveprotected 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 ParticleValuepublic 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 SpawnShapeValuepublic void load(ParticleValue value)
load in class SpawnShapeValuepublic void write(Json json)
write in interface Json.Serializablewrite in class SpawnShapeValuepublic void read(Json json, JsonValue jsonData)
read in interface Json.Serializableread in class SpawnShapeValue