Enum Class PxD6AxisEnum

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

public enum PxD6AxisEnum extends Enum<PxD6AxisEnum>
Used to specify one of the degrees of freedom of a D6 joint.

See also: PxD6Joint

  • Enum Constant Details

    • eX

      public static final PxD6AxisEnum eX
      motion along the X axis
    • eY

      public static final PxD6AxisEnum eY
      motion along the Y axis
    • eZ

      public static final PxD6AxisEnum eZ
      motion along the Z axis
    • eTWIST

      public static final PxD6AxisEnum eTWIST
      motion around the X axis
    • eSWING1

      public static final PxD6AxisEnum eSWING1
      motion around the Y axis
    • eSWING2

      public static final PxD6AxisEnum eSWING2
      motion around the Z axis
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static PxD6AxisEnum[] 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 PxD6AxisEnum 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 PxD6AxisEnum forValue(int value)