public abstract class SpawnShapeValue extends ParticleValue implements ResourceData.Configurable, Json.Serializable
Modifier and Type | Field and Description |
---|---|
RangedNumericValue |
xOffsetValue |
RangedNumericValue |
yOffsetValue |
RangedNumericValue |
zOffsetValue |
active
Constructor and Description |
---|
SpawnShapeValue() |
SpawnShapeValue(SpawnShapeValue spawnShapeValue) |
Modifier and Type | Method and Description |
---|---|
abstract SpawnShapeValue |
copy() |
void |
init() |
void |
load(AssetManager manager,
ResourceData data) |
void |
load(ParticleValue value) |
void |
read(Json json,
JsonValue jsonData) |
void |
save(AssetManager manager,
ResourceData data) |
Vector3 |
spawn(Vector3 vector,
float percent) |
abstract void |
spawnAux(Vector3 vector,
float percent) |
void |
start() |
void |
write(Json json) |
isActive, setActive
public RangedNumericValue xOffsetValue
public RangedNumericValue yOffsetValue
public RangedNumericValue zOffsetValue
public SpawnShapeValue()
public SpawnShapeValue(SpawnShapeValue spawnShapeValue)
public abstract void spawnAux(Vector3 vector, float percent)
public void init()
public void start()
public void load(ParticleValue value)
load
in class ParticleValue
public abstract SpawnShapeValue copy()
public void write(Json json)
write
in interface Json.Serializable
write
in class ParticleValue
public void read(Json json, JsonValue jsonData)
read
in interface Json.Serializable
read
in class ParticleValue
public void save(AssetManager manager, ResourceData data)
save
in interface ResourceData.Configurable
public void load(AssetManager manager, ResourceData data)
load
in interface ResourceData.Configurable
Copyright © 2015. All rights reserved.