public static enum JointDef.JointType extends java.lang.Enum<JointDef.JointType>
Enum Constant and Description |
---|
DistanceJoint |
FrictionJoint |
GearJoint |
MotorJoint |
MouseJoint |
PrismaticJoint |
PulleyJoint |
RevoluteJoint |
RopeJoint |
Unknown |
WeldJoint |
WheelJoint |
Modifier and Type | Field and Description |
---|---|
static JointDef.JointType[] |
valueTypes |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static JointDef.JointType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JointDef.JointType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JointDef.JointType Unknown
public static final JointDef.JointType RevoluteJoint
public static final JointDef.JointType PrismaticJoint
public static final JointDef.JointType DistanceJoint
public static final JointDef.JointType PulleyJoint
public static final JointDef.JointType MouseJoint
public static final JointDef.JointType GearJoint
public static final JointDef.JointType WheelJoint
public static final JointDef.JointType WeldJoint
public static final JointDef.JointType FrictionJoint
public static final JointDef.JointType RopeJoint
public static final JointDef.JointType MotorJoint
public static JointDef.JointType[] valueTypes
public static JointDef.JointType[] values()
for (JointDef.JointType c : JointDef.JointType.values()) System.out.println(c);
public static JointDef.JointType 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 nullpublic int getValue()