Examples of PrimitiveSpawnShapeValue


Examples of com.badlogic.gdx.graphics.g3d.particles.values.PrimitiveSpawnShapeValue

    });

    edgesCheckbox.addActionListener(new ActionListener() {
      public void actionPerformed (ActionEvent event) {
        SpawnInfluencer influencer = (SpawnInfluencer)editor.getEmitter().findInfluencer(SpawnInfluencer.class);
        PrimitiveSpawnShapeValue shapeValue = (PrimitiveSpawnShapeValue)influencer.spawnShapeValue;
        shapeValue.setEdges(edgesCheckbox.isSelected());
        setEdgesVisible(true);
      }
    });

    sideCombo.addActionListener(new ActionListener() {
      public void actionPerformed (ActionEvent event) {
        SpawnSide side = (SpawnSide)sideCombo.getSelectedItem();
        SpawnInfluencer influencer = (SpawnInfluencer)editor.getEmitter().findInfluencer(SpawnInfluencer.class);
        EllipseSpawnShapeValue shapeValue = (EllipseSpawnShapeValue)influencer.spawnShapeValue;
        shapeValue.setSide(side);
      }
    });

  }
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.