Influencer which controls which ParticleController will be assigned to a particle.
| Modifier and Type | Class and Description |
|---|---|
| public static class | ParticleControllerInfluencer.
Assigns a random controller of |
| public static class | ParticleControllerInfluencer.
Assigns the first controller of |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ParallelArray. | |
| public Array |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| particleControllerChannel | back to summary |
|---|---|
| pack-priv ParallelArray. | |
| templates | back to summary |
|---|---|
| public Array<ParticleController> templates | |
| ParticleControllerInfluencer | back to summary |
|---|---|
| public ParticleControllerInfluencer() | |
| ParticleControllerInfluencer | back to summary |
|---|---|
| public ParticleControllerInfluencer(ParticleController... templates) | |
| ParticleControllerInfluencer | back to summary |
|---|---|
| public ParticleControllerInfluencer(ParticleControllerInfluencer influencer) | |
| allocateChannels | back to summary |
|---|---|
| public void allocateChannels() Overrides com. Doc from com. Called during initialization to allocate additional particles channels
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides com. Implements com. Doc from com. Releases all resources of this object.
| |
| end | back to summary |
|---|---|
| public void end() Overrides com. Doc from com. Called at the end of the simulation.
| |
| load | back to summary |
|---|---|
| public void load(AssetManager manager, ResourceData<T> resources) Overrides com. Implements com.
| |
| save | back to summary |
|---|---|
| public void save(AssetManager manager, ResourceData<T> resources) Overrides com. Implements com.
| |
ParticleControllerInfluencer#templates to the particles.
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ParticleControllerInfluencer. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | activateParticles(int startIndex, int count)
Overrides com. Called to initialize new emitted particles. |
| public ParticleControllerInfluencer. | |
| public void | dispose()
Overrides com. Implements com. Releases all resources of this object. |
| public void | init()
Overrides com. Called once during intialization |
| public void | killParticles(int startIndex, int count)
Overrides com. Called to notify which particles have been killed. |
| pool | back to summary |
|---|---|
| pack-priv ParticleControllerInfluencer. | |
| Random | back to summary |
|---|---|
| public Random() | |
| Random | back to summary |
|---|---|
| public Random(ParticleController... templates) | |
| Random | back to summary |
|---|---|
| public Random(ParticleControllerInfluencer. | |
| activateParticles | back to summary |
|---|---|
| public void activateParticles(int startIndex, int count) Overrides com. Doc from com. Called to initialize new emitted particles.
| |
| copy | back to summary |
|---|---|
| public ParticleControllerInfluencer. Implements abstract com.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides com. Implements com. Doc from com. Releases all resources of this object.
| |
| init | back to summary |
|---|---|
| public void init() Overrides com. Doc from com. Called once during intialization
| |
| killParticles | back to summary |
|---|---|
| public void killParticles(int startIndex, int count) Overrides com. Doc from com. Called to notify which particles have been killed.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Overrides com. Removes and discards all free objects from this pool. |
| public ParticleController |
| ParticleControllerPool | back to summary |
|---|---|
| public ParticleControllerPool() | |
| clear | back to summary |
|---|---|
| public void clear() Overrides com. Doc from com. Removes and discards all free objects from this pool.
| |
| newObject | back to summary |
|---|---|
| public ParticleController newObject() Implements abstract com.
| |
ParticleControllerInfluencer#templates to the particles.
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | activateParticles(int startIndex, int count)
Overrides com. Called to initialize new emitted particles. |
| public ParticleControllerInfluencer. | |
| public void | init()
Overrides com. Called once during intialization |
| public void | killParticles(int startIndex, int count)
Overrides com. Called to notify which particles have been killed. |
| Single | back to summary |
|---|---|
| public Single(ParticleController... templates) | |
| Single | back to summary |
|---|---|
| public Single() | |
| Single | back to summary |
|---|---|
| public Single(ParticleControllerInfluencer. | |
| activateParticles | back to summary |
|---|---|
| public void activateParticles(int startIndex, int count) Overrides com. Doc from com. Called to initialize new emitted particles.
| |
| copy | back to summary |
|---|---|
| public ParticleControllerInfluencer. Implements abstract com.
| |
| init | back to summary |
|---|---|
| public void init() Overrides com. Doc from com. Called once during intialization
| |
| killParticles | back to summary |
|---|---|
| public void killParticles(int startIndex, int count) Overrides com. Doc from com. Called to notify which particles have been killed.
| |