Enum Class PhysicsSpace.BroadphaseType

java.lang.Object
java.lang.Enum<PhysicsSpace.BroadphaseType>
com.jme3.bullet.PhysicsSpace.BroadphaseType
All Implemented Interfaces:
Serializable, Comparable<PhysicsSpace.BroadphaseType>, Constable
Enclosing class:
PhysicsSpace

public static enum PhysicsSpace.BroadphaseType extends Enum<PhysicsSpace.BroadphaseType>
Enumerate the available accelerators for broadphase collision detection.
  • Enum Constant Details

    • SIMPLE

      public static final PhysicsSpace.BroadphaseType SIMPLE
      btSimpleBroadphase: a brute-force reference implementation for debugging purposes
    • AXIS_SWEEP_3

      public static final PhysicsSpace.BroadphaseType AXIS_SWEEP_3
      btAxisSweep3: incremental 3-D sweep and prune, requires world bounds, limited to 16_384 physics objects
    • AXIS_SWEEP_3_32

      public static final PhysicsSpace.BroadphaseType AXIS_SWEEP_3_32
      bt32BitAxisSweep3: incremental 3-D sweep and prune, requires world bounds, limited to 1_500_000 physics objects
    • DBVT

      public static final PhysicsSpace.BroadphaseType DBVT
      btDbvtBroadphase: a fast, dynamic bounding-volume hierarchy based on AABB tree to allow quicker addition/removal of physics objects
  • Method Details

    • values

      public static PhysicsSpace.BroadphaseType[] 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 PhysicsSpace.BroadphaseType 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