Interface ConstIndexedTriangleNoMaterial
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject
- All Known Subinterfaces:
ConstIndexedTriangle
- All Known Implementing Classes:
IndexedTriangle,IndexedTriangleNoMaterial
Read-only access to an
IndexedTriangleNoMaterial. (native type: const
IndexedTriangleNoMaterial)-
Method Summary
Modifier and TypeMethodDescriptionintgetIdx(int cornerIndex) Return the mesh-vertex index of the specified corner.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
-
Method Details
-
getIdx
int getIdx(int cornerIndex) Return the mesh-vertex index of the specified corner.- Parameters:
cornerIndex- which corner to access (0, 1, or 2)- Returns:
- the mesh-vertex index
-