Package com.badlogic.gdx.graphics.g3d.particles

Examples of com.badlogic.gdx.graphics.g3d.particles.ParticleEffect.copy()


  public ParticleEffect openEffect (File file, boolean replaceCurrentWorkspace) {
    try {
      ParticleEffect loadedEffect = load(file.getAbsolutePath(), ParticleEffect.class, null,
        new ParticleEffectLoader.ParticleEffectLoadParameter(particleSystem.getBatches()));
      loadedEffect = loadedEffect.copy();
      loadedEffect.init();
      if(replaceCurrentWorkspace){
        effect = loadedEffect;
        controllersData.clear();
        particleSystem.removeAll();
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.