Interface ConstCollideShapeSettings
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstCollideSettingsBase,ConstJoltPhysicsObject
- All Known Implementing Classes:
CollideShapeSettings
Read-only access to a
CollideShapeSettings object. (native type:
const CollideShapeSettings)-
Method Summary
Modifier and TypeMethodDescriptionReturn the treatment of back-facing triangles.floatReturn the tolerance used by to determine whether two edges are shared.floatReturn the maximum separation for which contacts will be reported.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstCollideSettingsBase
getActiveEdgeMode, getActiveEdgeMovementDirection, getCollectFacesMode, getCollisionTolerance, getPenetrationToleranceMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa, targetVaOrZero
-
Method Details
-
getBackFaceMode
EBackFaceMode getBackFaceMode()Return the treatment of back-facing triangles. The settings are unaffected.- Returns:
- the enum value (not
null)
-
getInternalEdgeRemovalVertexToleranceSq
float getInternalEdgeRemovalVertexToleranceSq()Return the tolerance used by to determine whether two edges are shared.- Returns:
- the tolerance (in meters^2)
-
getMaxSeparationDistance
float getMaxSeparationDistance()Return the maximum separation for which contacts will be reported. The settings are unaffected.- Returns:
- the separation limit (in meters)
-