public enum Cluster extends java.lang.Enum<Cluster>
PhysicsSoftBody.set(Cluster, int, float)| Enum Constant and Description |
|---|
AngularDamping
angular damping coefficient (default=0, native field: m_adamping)
|
LinearDamping
linear damping coefficient (default=0, native field: m_ldamping)
|
Matching
matching coefficient (default=0, native field: m_matching)
|
MaxSelfImpulse
maximum self-collision impulse (default=100, native field:
m_maxSelfCollisionImpulse)
|
NodeDamping
node-damping coefficient (default=0, native field: m_ndamping)
|
SelfImpulse
self-collision impulse factor (default=0.01, native field:
m_selfCollisionImpulseFactor)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSet(float value)
Test whether this parameter can be set to the specified value.
|
float |
defValue()
Determine the default value for this parameter.
|
float |
maxValue()
Determine the maximum value for this parameter.
|
float |
minValue()
Determine the minimum value for this parameter.
|
static Cluster |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cluster[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cluster AngularDamping
public static final Cluster LinearDamping
public static final Cluster Matching
public static final Cluster MaxSelfImpulse
public static final Cluster NodeDamping
public static final Cluster SelfImpulse
public static Cluster[] values()
for (Cluster c : Cluster.values()) System.out.println(c);
public static Cluster 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 boolean canSet(float value)
value - the desired parameter valuepublic float defValue()
public float maxValue()
public float minValue()