Enum Class PxControllerShapeTypeEnum

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

public enum PxControllerShapeTypeEnum extends Enum<PxControllerShapeTypeEnum>
The type of controller, eg box, sphere or capsule.
  • Enum Constant Details

    • eBOX

      public static final PxControllerShapeTypeEnum eBOX
      A box controller.

      See also: PxBoxController PxBoxControllerDesc

    • eCAPSULE

      public static final PxControllerShapeTypeEnum eCAPSULE
      A capsule controller

      See also: PxCapsuleController PxCapsuleControllerDesc

  • Field Details

    • value

      public final int value
  • Method Details

    • values

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