Enum Class EShapeType

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

public enum EShapeType extends Enum<EShapeType>
Enumerate categories that a Shape can belong to.
  • Enum Constant Details

    • Convex

      public static final EShapeType Convex
      convex
    • Compound

      public static final EShapeType Compound
      compound
    • Decorated

      public static final EShapeType Decorated
      decorated
    • Mesh

      public static final EShapeType Mesh
      mesh
    • HeightField

      public static final EShapeType HeightField
      height field
    • SoftBody

      public static final EShapeType SoftBody
      soft body
    • User1

      public static final EShapeType User1
      user-defined type #1
    • User2

      public static final EShapeType User2
      user-defined type #2
    • User3

      public static final EShapeType User3
      user-defined type #3
    • User4

      public static final EShapeType User4
      user-defined type #4
    • Plane

      public static final EShapeType Plane
      plane
    • Empty

      public static final EShapeType Empty
      EmptyShape
  • Method Details

    • values

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