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, updatepublic SpawnShapeValue spawnShapeValue
public SpawnInfluencer()
public SpawnInfluencer(SpawnShapeValue spawnShapeValue)
public SpawnInfluencer(SpawnInfluencer source)
public void init()
ParticleControllerComponentinit in class ParticleControllerComponentpublic void allocateChannels()
ParticleControllerComponentallocateChannels in class ParticleControllerComponentpublic void start()
ParticleControllerComponentstart in class ParticleControllerComponentpublic void activateParticles(int startIndex,
int count)
ParticleControllerComponentactivateParticles in class ParticleControllerComponentpublic SpawnInfluencer copy()
copy in class ParticleControllerComponentpublic void write(Json json)
write in interface Json.Serializablewrite in class ParticleControllerComponentpublic void read(Json json, JsonValue jsonData)
read in interface Json.Serializableread in class ParticleControllerComponentpublic void save(AssetManager manager, ResourceData data)
save in interface ResourceData.Configurablesave in class ParticleControllerComponentpublic void load(AssetManager manager, ResourceData data)
load in interface ResourceData.Configurableload in class ParticleControllerComponent