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

Examples of com.badlogic.gdx.graphics.g3d.particles.influencers.DynamicsModifier$FaceDirection


  protected void velocitySelected () {
    //Show the velocity value panel
    int index = velocityTable.getSelectedRow();
    if(index == -1) return;
   
    DynamicsModifier velocityValue = velocities.get(index).velocityValue;
    EditorPanel velocityPanel = getVelocityPanel(velocityValue);
   
    //Show the selected velocity
    if(selectedVelocityPanel != null && selectedVelocityPanel != velocityPanel)
      selectedVelocityPanel.setVisible(false);
View Full Code Here


    return panel;
  }
 
  private DynamicsModifier createVelocityValue (Object selectedItem) {
    DynamicsModifier velocityValue = null;
    if(selectedItem == VEL_TYPE_ROTATIONAL_2D) velocityValue = new DynamicsModifier.Rotational2D();
    else if(selectedItem == VEL_TYPE_ROTATIONAL_3D) velocityValue = new DynamicsModifier.Rotational3D();
    else if(selectedItem == VEL_TYPE_CENTRIPETAL) velocityValue = new DynamicsModifier.CentripetalAcceleration();
    else if(selectedItem == VEL_TYPE_TANGENTIAL) velocityValue = new DynamicsModifier.TangentialAcceleration();
    else if(selectedItem == VEL_TYPE_POLAR) velocityValue = new DynamicsModifier.PolarAcceleration();
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.graphics.g3d.particles.influencers.DynamicsModifier$FaceDirection

Copyright © 2018 www.massapicom. 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.