use of com.badlogic.gdx.graphics.g3d.particles.influencers.Influencer in project libgdx by libgdx.
the class ParticleController method init.
/** Initialize the controller. All the sub systems will be initialized and binded to the controller. Must be called before any
* other method. */
public void init() {
bind();
if (particles != null) {
end();
particleChannels.resetIds();
}
allocateChannels(emitter.maxParticleCount);
emitter.init();
for (Influencer influencer : influencers) influencer.init();
renderer.init();
}
use of com.badlogic.gdx.graphics.g3d.particles.influencers.Influencer in project libgdx by libgdx.
the class ParticleController method load.
@Override
public void load(AssetManager manager, ResourceData data) {
emitter.load(manager, data);
for (Influencer influencer : influencers) influencer.load(manager, data);
renderer.load(manager, data);
}
Aggregations