Interface ConstOrientedBox
- All Superinterfaces:
Comparable<ConstJoltPhysicsObject>,ConstJoltPhysicsObject
Read-only access to an
OrientedBox. (native type: const OrientedBox)-
Method Summary
Modifier and TypeMethodDescriptionCopy the (half) extent of the box on each local axis.Copy the transform that positions and rotates the local space axes to world space.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, va
-
Method Details
-
getHalfExtents
Vec3 getHalfExtents()Copy the (half) extent of the box on each local axis. The box is unaffected.- Returns:
- a new vector
-
getOrientation
Mat44 getOrientation()Copy the transform that positions and rotates the local space axes to world space. The box is unaffected.- Returns:
- a new matrix
-