Enum Class PxD6MotionEnum

java.lang.Object
java.lang.Enum<PxD6MotionEnum>
physx.extensions.PxD6MotionEnum
All Implemented Interfaces:
Serializable, Comparable<PxD6MotionEnum>, Constable

public enum PxD6MotionEnum extends Enum<PxD6MotionEnum>
Used to specify the range of motions allowed for a degree of freedom in a D6 joint.

See also: PxD6Joint

  • Enum Constant Details

    • eLOCKED

      public static final PxD6MotionEnum eLOCKED
      The DOF is locked, it does not allow relative motion.
    • eLIMITED

      public static final PxD6MotionEnum eLIMITED
      The DOF is limited, it only allows motion within a specific range.
    • eFREE

      public static final PxD6MotionEnum eFREE
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static PxD6MotionEnum[] 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 PxD6MotionEnum 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
    • forValue

      public static PxD6MotionEnum forValue(int value)