Interface ConstRayCastSettings
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject
- All Known Implementing Classes:
RayCastSettings
Read-only access to a
RayCastSettings. (native type:
const RayCastSettings)-
Method Summary
Modifier and TypeMethodDescriptionReturn the policy for back-facing triangles in convex shapes.Return the policy for back-facing triangles in triangle-based shapes.booleanTest whether convex shapes should be treated as solid.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa, targetVaOrZero
-
Method Details
-
getBackFaceModeConvex
EBackFaceMode getBackFaceModeConvex()Return the policy for back-facing triangles in convex shapes. The settings are unaffected.- Returns:
- the enum value (not
null)
-
getBackFaceModeTriangles
EBackFaceMode getBackFaceModeTriangles()Return the policy for back-facing triangles in triangle-based shapes. The settings are unaffected.- Returns:
- the enum value (not
null)
-
getTreatConvexAsSolid
boolean getTreatConvexAsSolid()Test whether convex shapes should be treated as solid. The settings are unaffected.- Returns:
trueif treated as solid, otherwisefalse
-