public class SpawnInfluencer extends Influencer
Influencer
which controls where the particles will be spawned.Modifier and Type | Field and Description |
---|---|
SpawnShapeValue |
spawnShapeValue |
Constructor and Description |
---|
SpawnInfluencer() |
SpawnInfluencer(SpawnInfluencer source) |
SpawnInfluencer(SpawnShapeValue spawnShapeValue) |
Modifier and Type | Method and Description |
---|---|
void |
activateParticles(int startIndex,
int count)
Called to initialize new emitted particles.
|
void |
allocateChannels()
Called during initialization to allocate additional particles channels
|
SpawnInfluencer |
copy() |
void |
init()
Called once during intialization
|
void |
load(AssetManager manager,
ResourceData data) |
void |
read(Json json,
JsonValue jsonData) |
void |
save(AssetManager manager,
ResourceData data) |
void |
start()
Called at the start of the simulation.
|
void |
write(Json json) |
dispose, end, killParticles, set, update
public SpawnShapeValue spawnShapeValue
public SpawnInfluencer()
public SpawnInfluencer(SpawnShapeValue spawnShapeValue)
public SpawnInfluencer(SpawnInfluencer source)
public void init()
ParticleControllerComponent
init
in class ParticleControllerComponent
public void allocateChannels()
ParticleControllerComponent
allocateChannels
in class ParticleControllerComponent
public void start()
ParticleControllerComponent
start
in class ParticleControllerComponent
public void activateParticles(int startIndex, int count)
ParticleControllerComponent
activateParticles
in class ParticleControllerComponent
public SpawnInfluencer copy()
copy
in class ParticleControllerComponent
public void write(Json json)
write
in interface Json.Serializable
write
in class ParticleControllerComponent
public void read(Json json, JsonValue jsonData)
read
in interface Json.Serializable
read
in class ParticleControllerComponent
public void save(AssetManager manager, ResourceData data)
save
in interface ResourceData.Configurable
save
in class ParticleControllerComponent
public void load(AssetManager manager, ResourceData data)
load
in interface ResourceData.Configurable
load
in class ParticleControllerComponent
Copyright © 2014. All rights reserved.