public static enum RigidBody.InertiaMethod extends java.lang.Enum<RigidBody.InertiaMethod>
| Enum Constant and Description | 
|---|
| DensityInertia is determined implicitly from the surface mesh and a specified 
 density. | 
| ExplicitInertia is explicitly specified. | 
| MassInertia is determined implicitly from the surface mesh and a specified 
 mass (which is divided by the mesh volume to determine a density). | 
| Modifier and Type | Method and Description | 
|---|---|
| static RigidBody.InertiaMethod | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static RigidBody.InertiaMethod[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final RigidBody.InertiaMethod Density
public static final RigidBody.InertiaMethod Mass
public static final RigidBody.InertiaMethod Explicit
public static RigidBody.InertiaMethod[] values()
for (RigidBody.InertiaMethod c : RigidBody.InertiaMethod.values()) System.out.println(c);
public static RigidBody.InertiaMethod 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