Interface ConstIndexedTriangle
- All Superinterfaces:
AutoCloseable,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
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstIndexedTriangleNoMaterial
getIdxMethods 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
-