Search in sources :

Example 1 with ParticleEffectConfiguration

use of com.gempukku.libgdx.graph.plugin.particles.ParticleEffectConfiguration in project gdx-graph by MarcinSc.

the class ParticlesShaderPreviewWidget method createModel.

private void createModel() {
    renderableParticleEffect = new CommonPropertiesRenderableParticleEffect(createGenerator());
    particleEffect = new GraphParticleEffectImpl("tag", new ParticleEffectConfiguration(null, graphShader.getProperties(), graphShader.getMaxNumberOfParticles()), renderableParticleEffect, new QuadParticleModel(), false);
    if (running)
        particleEffect.start();
}
Also used : ParticleEffectConfiguration(com.gempukku.libgdx.graph.plugin.particles.ParticleEffectConfiguration) GraphParticleEffectImpl(com.gempukku.libgdx.graph.plugin.particles.impl.GraphParticleEffectImpl) QuadParticleModel(com.gempukku.libgdx.graph.plugin.particles.model.QuadParticleModel)

Aggregations

ParticleEffectConfiguration (com.gempukku.libgdx.graph.plugin.particles.ParticleEffectConfiguration)1 GraphParticleEffectImpl (com.gempukku.libgdx.graph.plugin.particles.impl.GraphParticleEffectImpl)1 QuadParticleModel (com.gempukku.libgdx.graph.plugin.particles.model.QuadParticleModel)1