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 anInfluencerwhich controls particles color and transparency.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classColorInfluencer.RandomIt's anInfluencerwhich assigns a random color when a particle is activated.static classColorInfluencer.SingleIt's anInfluencerwhich 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 voidallocateChannels()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:ParticleControllerComponentCalled during initialization to allocate additional particles channels- Overrides:
allocateChannelsin classParticleControllerComponent
-
-