public static enum Constraint.Type extends java.lang.Enum<Constraint.Type>
| Enum Constant and Description |
|---|
coneTwist
A Point to point constraint with cone and twist angles limits
|
dof6Spring
6 degrees of freedom constraint
|
gear |
hinge
1 rotation around specified axis.
|
point2Point
All (3) rotations around specified pivot point.
|
slider
1 rotation and 1 translation respectively around and along specified axis
|
| Modifier and Type | Method and Description |
|---|---|
static Constraint.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constraint.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constraint.Type hinge
HingeConstraintpublic static final Constraint.Type slider
SliderConstraintpublic static final Constraint.Type point2Point
Point2PointConstraintpublic static final Constraint.Type coneTwist
ConeTwistConstraintpublic static final Constraint.Type dof6Spring
public static final Constraint.Type gear
public static Constraint.Type[] values()
for (Constraint.Type c : Constraint.Type.values()) System.out.println(c);
public static Constraint.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 nullBonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com