public static enum CollisionShape.Type extends java.lang.Enum<CollisionShape.Type>
| Enum Constant and Description |
|---|
Box
A simple box collision shape.
|
Hull
A "hull" collision shape, i.e. a rough representation of the mesh.
|
Mesh
A mesh accurate collision shape.
|
Sphere
A simple spherical collision shape.
|
| Modifier and Type | Method and Description |
|---|---|
static CollisionShape.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollisionShape.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollisionShape.Type Mesh
World3DModel. When using this
type, the model will be used to create the collision shape.public static final CollisionShape.Type Hull
World3DModel. When using this
type, the model will be used to create the collision shape.public static final CollisionShape.Type Box
public static final CollisionShape.Type Sphere
public static CollisionShape.Type[] values()
for (CollisionShape.Type c : CollisionShape.Type.values()) System.out.println(c);
public static CollisionShape.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null