Interface ConstVertexAttributes
- All Superinterfaces:
Comparable<JoltPhysicsObject>
,ConstJoltPhysicsObject
- All Known Implementing Classes:
VertexAttributes
Read-only access to a
VertexAttributes
object. (native type: const
VertexAttributes)-
Method Summary
Modifier and TypeMethodDescriptionfloat
Return the compliance of bend edges.float
Return the compliance of normal/regular edges.float
Return the multiplier for the maximum distance of the long-range attachment (LRA) constraint.Return the type of the long-range attachment (LRA) constraint.float
Return the compliance of the shear edges.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
-
Method Details
-
getBendCompliance
float getBendCompliance()Return the compliance of bend edges. The attributes are unaffected.- Returns:
- the compliance value
-
getCompliance
float getCompliance()Return the compliance of normal/regular edges. The attributes are unaffected.- Returns:
- the compliance value
-
getLraMaxDistanceMultiplier
float getLraMaxDistanceMultiplier()Return the multiplier for the maximum distance of the long-range attachment (LRA) constraint. The attributes are unaffected.- Returns:
- the multiplier (relative to the rest-pose distance)
-
getLraType
ELraType getLraType()Return the type of the long-range attachment (LRA) constraint. The attributes are unaffected.- Returns:
- the enum value (not null)
-
getShearCompliance
float getShearCompliance()Return the compliance of the shear edges. The attributes are unaffected.- Returns:
- the compliance value
-