Class ParticleControllerFinalizerInfluencer
- 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.ParticleControllerFinalizerInfluencer
-
- All Implemented Interfaces:
ResourceData.Configurable
,Disposable
,Json.Serializable
public class ParticleControllerFinalizerInfluencer extends Influencer
It's anInfluencer
which updates the simulation of particles containing aParticleController
. Must be the last influencer to be updated, so it has to be placed at the end of the influencers list when creating aParticleController
.
-
-
Constructor Summary
Constructors Constructor Description ParticleControllerFinalizerInfluencer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allocateChannels()
Called during initialization to allocate additional particles channelsParticleControllerFinalizerInfluencer
copy()
void
init()
Called once during intializationvoid
update()
Called to execute the component behavior.-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent
activateParticles, dispose, end, killParticles, load, read, save, set, start, write
-
-
-
-
Method Detail
-
init
public void init()
Description copied from class:ParticleControllerComponent
Called once during intialization- Overrides:
init
in classParticleControllerComponent
-
allocateChannels
public void allocateChannels()
Description copied from class:ParticleControllerComponent
Called during initialization to allocate additional particles channels- Overrides:
allocateChannels
in classParticleControllerComponent
-
update
public void update()
Description copied from class:ParticleControllerComponent
Called to execute the component behavior.- Overrides:
update
in classParticleControllerComponent
-
copy
public ParticleControllerFinalizerInfluencer copy()
- Specified by:
copy
in classParticleControllerComponent
-
-