Enum Class EBodyType

java.lang.Object
java.lang.Enum<EBodyType>
com.github.stephengold.joltjni.enumerate.EBodyType
All Implemented Interfaces:
Serializable, Comparable<EBodyType>, Constable

public enum EBodyType extends Enum<EBodyType>
Enumerate types of bodies.
  • Enum Constant Details

    • RigidBody

      public static final EBodyType RigidBody
      a body with an unchanging shape
    • SoftBody

      public static final EBodyType SoftBody
      a body with a deformable shape
  • Method Details

    • values

      public static EBodyType[] 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 EBodyType 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