Enum Class MultiBodyJointType

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

public enum MultiBodyJointType extends Enum<MultiBodyJointType>
Enumerate the types of joints in a MultiBody (native name: eFeatherstoneJointType).
  • Enum Constant Details

    • Revolute

      public static final MultiBodyJointType Revolute
      revolute joint (native name: eRevolute)
    • Prismatic

      public static final MultiBodyJointType Prismatic
      prismatic joint (native name: ePrismatic)
    • Spherical

      public static final MultiBodyJointType Spherical
      spherical joint (native name: eSpherical)
    • Planar

      public static final MultiBodyJointType Planar
      planar joint (native name: ePlanar)
    • Fixed

      public static final MultiBodyJointType Fixed
      fixed joint (native name: eFixed)
  • Method Details

    • values

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