Class ParticleControllerInfluencer.Single
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent
-
- com.badlogic.gdx.graphics.g3d.particles.influencers.Influencer
-
- com.badlogic.gdx.graphics.g3d.particles.influencers.ParticleControllerInfluencer
-
- com.badlogic.gdx.graphics.g3d.particles.influencers.ParticleControllerInfluencer.Single
-
- All Implemented Interfaces:
ResourceData.Configurable,Disposable,Json.Serializable
- Enclosing class:
- ParticleControllerInfluencer
public static class ParticleControllerInfluencer.Single extends ParticleControllerInfluencer
Assigns the first controller ofParticleControllerInfluencer.templatesto the particles.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.badlogic.gdx.graphics.g3d.particles.influencers.ParticleControllerInfluencer
ParticleControllerInfluencer.Random, ParticleControllerInfluencer.Single
-
-
Field Summary
-
Fields inherited from class com.badlogic.gdx.graphics.g3d.particles.influencers.ParticleControllerInfluencer
templates
-
-
Constructor Summary
Constructors Constructor Description Single()Single(ParticleControllerInfluencer.Single particleControllerSingle)Single(ParticleController... templates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivateParticles(int startIndex, int count)Called to initialize new emitted particles.ParticleControllerInfluencer.Singlecopy()voidinit()Called once during intializationvoidkillParticles(int startIndex, int count)Called to notify which particles have been killed.-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.influencers.ParticleControllerInfluencer
allocateChannels, dispose, end, load, save
-
-
-
-
Constructor Detail
-
Single
public Single(ParticleController... templates)
-
Single
public Single()
-
Single
public Single(ParticleControllerInfluencer.Single particleControllerSingle)
-
-
Method Detail
-
init
public void init()
Description copied from class:ParticleControllerComponentCalled once during intialization- Overrides:
initin classParticleControllerComponent
-
activateParticles
public void activateParticles(int startIndex, int count)Description copied from class:ParticleControllerComponentCalled to initialize new emitted particles.- Overrides:
activateParticlesin classParticleControllerComponent
-
killParticles
public void killParticles(int startIndex, int count)Description copied from class:ParticleControllerComponentCalled to notify which particles have been killed.- Overrides:
killParticlesin classParticleControllerComponent
-
copy
public ParticleControllerInfluencer.Single copy()
- Specified by:
copyin classParticleControllerComponent
-
-