Enum Class UseTriangles

java.lang.Object
java.lang.Enum<UseTriangles>
com.jme3.bullet.control.UseTriangles
All Implemented Interfaces:
Serializable, Comparable<UseTriangles>, Constable

public enum UseTriangles extends Enum<UseTriangles>
Enumerate uses for triangle indices when constructing a SoftBody from a Mesh.
  • Enum Constant Details

    • FacesOnly

      public static final UseTriangles FacesOnly
      use triangle indices to generate soft-body faces only
    • Ignore

      public static final UseTriangles Ignore
      ignore triangle indices
    • LinksOnly

      public static final UseTriangles LinksOnly
      use triangle indices to generate soft-body links only
  • Method Details

    • values

      public static UseTriangles[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UseTriangles valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null