public enum Sbcp extends java.lang.Enum<Sbcp>
SoftBodyConfig.get(Sbcp)| Enum Constant and Description |
|---|
AnchorHardness
anchor hardness coefficient (≥0, ≤1, default=0.7, native field:
kAHR)
|
ClusterKineticHardness
cluster-versus-kinetic hardness coefficient (≥0, ≤1, default=1,
native field: kSKHR_CL)
|
ClusterKineticSplit
cluster-versus-kinetic impulse-split coefficient (≥0, ≤1,
default=0.5, native field: kSK_SPLT_CL)
|
ClusterRigidHardness
cluster-versus-rigidBody hardness coefficient (≥0, ≤1, default=0.1,
native field: kSRHR_CL)
|
ClusterRigidSplit
cluster-versus-rigidBody impulse-split coefficient (≥0, ≤1,
default=0.5, native field: kSR_SPLT_CL)
|
ClusterSoftHardness
cluster-versus-softBody hardness coefficient (≥0, ≤1, default=0.5,
native field: kSSHR_CL)
|
ClusterSoftSplit
cluster-versus-softBody impulse-split coefficient (≥0, ≤1,
default=0.5, native field: kSS_SPLT_CL).
|
Damping
damping coefficient (≥0, ≤1, default=0, native field: kDP)
|
Drag
drag coefficient (≥0, default=0, native field: kDG)
|
DynamicFriction
dynamic friction coefficient (≥0, <1, default=0.2, native field:
kDF)
|
KineticHardness
contact hardness coefficient for static or kinematic rigid bodies (≥0,
≤1, default=0.1, native field: kKHR)
|
Lift
lift coefficient (≥0, default=0, native field: kLF)
|
MaxVolumeRatio
maximum volume ratio for the pose (default=1, native field: maxvolume)
|
PoseMatching
pose-matching coefficient: how strongly the soft body will tend to return
to its default pose (≥0, ≤1, default=0, native field: kMT)
|
Pressure
pressure coefficient (default=0, native field: kPR)
|
RigidHardness
contact hardness coefficient for dynamic rigid bodies (≥0, ≤1,
default=1, native field: kCHR)
|
SoftHardness
soft-body contact hardness coefficient (≥0, ≤1, default=1, native
field: kSHR)
|
TimeScale
time scale (default=1, native field: timescale)
|
VelocityCorrection
velocity correction factor (Baumgarte) (default=1, native field: kVCF)
|
VolumeConservation
volume conservation coefficient (≥0, default=0, native field: kVC)
|
| 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 Sbcp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sbcp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sbcp AnchorHardness
public static final Sbcp ClusterKineticHardness
public static final Sbcp ClusterKineticSplit
public static final Sbcp ClusterRigidHardness
public static final Sbcp ClusterRigidSplit
public static final Sbcp ClusterSoftHardness
public static final Sbcp ClusterSoftSplit
public static final Sbcp Damping
public static final Sbcp Drag
public static final Sbcp DynamicFriction
public static final Sbcp KineticHardness
public static final Sbcp Lift
public static final Sbcp MaxVolumeRatio
public static final Sbcp PoseMatching
public static final Sbcp Pressure
public static final Sbcp RigidHardness
public static final Sbcp SoftHardness
public static final Sbcp TimeScale
public static final Sbcp VelocityCorrection
public static final Sbcp VolumeConservation
public static Sbcp[] values()
for (Sbcp c : Sbcp.values()) System.out.println(c);
public static Sbcp 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()