Package com.jme3.bullet.animation
Enum Class ShapeHeuristic
- All Implemented Interfaces:
Serializable
,Comparable<ShapeHeuristic>
,Constable
Enumerate algorithms to create a CollisionShape for a PhysicsLink.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionaxis-aligned bounding boxrotated cylinder4-sphere hull to fill the minimal bounding box (good for many bone links)minimal bounding box (not axis-aligned)centered bounding sphere2-sphere hull to approximate the minimal bounding box (good for many bone links)convex hull of mesh vertices (precise but relatively slow) -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapeHeuristic
Returns the enum constant of this class with the specified name.static ShapeHeuristic[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AABB
axis-aligned bounding box -
MinBox
minimal bounding box (not axis-aligned) -
FourSphere
4-sphere hull to fill the minimal bounding box (good for many bone links) -
Sphere
centered bounding sphere -
TwoSphere
2-sphere hull to approximate the minimal bounding box (good for many bone links) -
VertexHull
convex hull of mesh vertices (precise but relatively slow) -
Cylinder
rotated cylinder
-
-
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
-