Interface ConstIndexedTriangle
- All Superinterfaces:
Comparable<JoltPhysicsObject>
,ConstIndexedTriangleNoMaterial
,ConstJoltPhysicsObject
- All Known Implementing Classes:
IndexedTriangle
Read-only access to an
IndexedTriangle
. (native type: const
IndexedTriangle)-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.github.stephengold.joltjni.readonly.ConstIndexedTriangleNoMaterial
getIdx
Methods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
-
Method Details
-
getMaterialIndex
int getMaterialIndex()Return the triangle's material index. The triangle is unaffected. (native attribute: mMaterialIndex)- Returns:
- the index
-