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, 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
public ScaledNumericValue spawnWidthValue
public ScaledNumericValue spawnHeightValue
public ScaledNumericValue spawnDepthValue
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
Copyright © 2015. All rights reserved.