Package com.jme3.bullet
Enum Class PhysicsSpace.BroadphaseType
- All Implemented Interfaces:
Serializable
,Comparable<PhysicsSpace.BroadphaseType>
,Constable
- Enclosing class:
- PhysicsSpace
Enumerate the available accelerators for broadphase collision detection.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionbtAxisSweep3: incremental 3-D sweep and prune, requires world bounds, limited to 16_384 physics objectsbt32BitAxisSweep3: incremental 3-D sweep and prune, requires world bounds, limited to 1_500_000 physics objectsbtDbvtBroadphase: a fast, dynamic bounding-volume hierarchy based on AABB tree to allow quicker addition/removal of physics objectsbtSimpleBroadphase: a brute-force reference implementation for debugging purposes -
Method Summary
Modifier and TypeMethodDescriptionstatic PhysicsSpace.BroadphaseType
Returns the enum constant of this class with the specified name.static PhysicsSpace.BroadphaseType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIMPLE
btSimpleBroadphase: a brute-force reference implementation for debugging purposes -
AXIS_SWEEP_3
btAxisSweep3: incremental 3-D sweep and prune, requires world bounds, limited to 16_384 physics objects -
AXIS_SWEEP_3_32
bt32BitAxisSweep3: incremental 3-D sweep and prune, requires world bounds, limited to 1_500_000 physics objects -
DBVT
btDbvtBroadphase: a fast, dynamic bounding-volume hierarchy based on AABB tree to allow quicker addition/removal of physics objects
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-