public static enum CollisionBehavior.VertexPenetrations extends java.lang.Enum<CollisionBehavior.VertexPenetrations>
CollisionBehavior.Method.VERTEX_PENETRATION
or CollisionBehavior.Method.VERTEX_EDGE_PENETRATION
contact methods.
For the @link Method#VERTEX_PENETRATION} or CollisionBehavior.Method.VERTEX_EDGE_PENETRATION
contact methods, indicates whether
vertex penetrations are calculated for the first collidable,
the second collidable, or both.Enum Constant and Description |
---|
AUTO
Vertex penetrations are determined automatically as follows:
If neither collidable corresponds to a rigid body,
penetrations are calculated for both collidables.
|
BOTH_COLLIDABLES
Vertex penetrations are calculated for both collidables.
|
FIRST_COLLIDABLE
Vertex penetrations are calculated for the first collidable.
|
SECOND_COLLIDABLE
Vertex penetrations are calculated for the second collidable.
|
Modifier and Type | Method and Description |
---|---|
static CollisionBehavior.VertexPenetrations |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollisionBehavior.VertexPenetrations[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollisionBehavior.VertexPenetrations BOTH_COLLIDABLES
public static final CollisionBehavior.VertexPenetrations FIRST_COLLIDABLE
public static final CollisionBehavior.VertexPenetrations SECOND_COLLIDABLE
public static final CollisionBehavior.VertexPenetrations AUTO
public static CollisionBehavior.VertexPenetrations[] values()
for (CollisionBehavior.VertexPenetrations c : CollisionBehavior.VertexPenetrations.values()) System.out.println(c);
public static CollisionBehavior.VertexPenetrations 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