public static enum RigidBody.InertiaMethod extends java.lang.Enum<RigidBody.InertiaMethod>
Enum Constant and Description |
---|
DENSITY
Inertia is determined implicitly from the surface mesh and a specified
density.
|
EXPLICIT
Inertia is explicitly specified.
|
MASS
Inertia 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