Package com.ardor3d.extension.effect.particle

Examples of com.ardor3d.extension.effect.particle.ParticleSystem.warmUp()


        // End color is BLUE, opaque (size is back to 2.5 now.
        particles.setEndColor(new ColorRGBA(0, 0, 1, 1));
        particles.setEndSize(2.5);

        particles.warmUp(60);

        final BlendState blend = new BlendState();
        blend.setBlendEnabled(true);
        blend.setSourceFunction(BlendState.SourceFunction.SourceAlpha);
        blend.setDestinationFunction(BlendState.DestinationFunction.One);
View Full Code Here


        explosion.setParticleSpinSpeed(0.0f);
        explosion.setRepeatType(RepeatType.CLAMP);

        // attach to root, at fist location
        explosion.setTransform(loc);
        explosion.warmUp(1);
        example.getRoot().attachChild(explosion);
        example.getRoot().updateWorldTransform(true);

        explosion.getParticleController().addListener(new ParticleControllerListener() {
            @Override
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.