com.bulletphysics.dynamics.constraintsolver
Enum TypedConstraintType
java.lang.Object
java.lang.Enum<TypedConstraintType>
com.bulletphysics.dynamics.constraintsolver.TypedConstraintType
- All Implemented Interfaces:
- Serializable, Comparable<TypedConstraintType>
public enum TypedConstraintType
- extends Enum<TypedConstraintType>
Typed constraint type.
POINT2POINT_CONSTRAINT_TYPE
public static final TypedConstraintType POINT2POINT_CONSTRAINT_TYPE
HINGE_CONSTRAINT_TYPE
public static final TypedConstraintType HINGE_CONSTRAINT_TYPE
CONETWIST_CONSTRAINT_TYPE
public static final TypedConstraintType CONETWIST_CONSTRAINT_TYPE
D6_CONSTRAINT_TYPE
public static final TypedConstraintType D6_CONSTRAINT_TYPE
VEHICLE_CONSTRAINT_TYPE
public static final TypedConstraintType VEHICLE_CONSTRAINT_TYPE
SLIDER_CONSTRAINT_TYPE
public static final TypedConstraintType SLIDER_CONSTRAINT_TYPE
values
public static TypedConstraintType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TypedConstraintType c : TypedConstraintType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TypedConstraintType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException
- if the argument is null