Interface RMat44Arg
- All Superinterfaces:
Comparable<ConstJoltPhysicsObject>,ConstJoltPhysicsObject
- All Known Implementing Classes:
RMat44
Read-only access to an
RMat44. (native type: const RMat44)-
Method Summary
Modifier and TypeMethodDescriptiondoublegetElement(int row, int column) Return the specified element in double precision.Return the translation component.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, va
-
Method Details
-
getElement
double getElement(int row, int column) Return the specified element in double precision. The matrix is unaffected.- Parameters:
row- the zero-origin index of the row (≥0, <4)column- the zero-origin index of the column (≥0, <4)- Returns:
- the element's value
-
getTranslation
RVec3 getTranslation()Return the translation component. The matrix is unaffected.- Returns:
- a new vector
-