Class ColorInfluencer
- 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.ColorInfluencer
-
- All Implemented Interfaces:
ResourceData.Configurable
,Disposable
,Json.Serializable
- Direct Known Subclasses:
ColorInfluencer.Random
,ColorInfluencer.Single
public abstract class ColorInfluencer extends Influencer
It's anInfluencer
which controls particles color and transparency.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ColorInfluencer.Random
It's anInfluencer
which assigns a random color when a particle is activated.static class
ColorInfluencer.Single
It's anInfluencer
which manages the particle color during its life time.
-
Constructor Summary
Constructors Constructor Description ColorInfluencer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allocateChannels()
Called during initialization to allocate additional particles channels-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent
activateParticles, copy, dispose, end, init, killParticles, load, read, save, set, start, update, write
-
-
-
-
Method Detail
-
allocateChannels
public void allocateChannels()
Description copied from class:ParticleControllerComponent
Called during initialization to allocate additional particles channels- Overrides:
allocateChannels
in classParticleControllerComponent
-
-