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 |
|---|---|
ScaledNumericValue |
spawnDepthValue |
ScaledNumericValue |
spawnHeightValue |
ScaledNumericValue |
spawnWidthValue |
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, spawnAuxisActivepublic ScaledNumericValue spawnWidthValue
public ScaledNumericValue spawnHeightValue
public ScaledNumericValue spawnDepthValue
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 SpawnShapeValueCopyright © 2021. All rights reserved.