Examples of EmitterPointShape

@author Portet to jme3 by user starcom "Paul Kashofer Austria" @see ImageGraphics

Examples of com.jme3.effect.EmitterPointShape

        flame.setStartColor(new ColorRGBA(1f, 0.4f, 0.05f, 1f));
        flame.setEndColor(new ColorRGBA(.4f, .22f, .12f, 0f));
        flame.setStartSize(size);
        flame.setEndSize(size);
        //flame.setShape(new EmitterSphereShape(Vector3f.ZERO, 1f));
        flame.setShape(new EmitterPointShape(Vector3f.ZERO));
        flame.setParticlesPerSec(20);
        flame.setGravity(-5f);
        flame.setLowLife(1f);
        flame.setHighLife(1.5f);
        //flame.setInitialVelocity(new Vector3f(0, 7, 0));
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.