Interface ConstBoxShapeSettings
- All Superinterfaces:
- AutoCloseable,- Comparable<JoltPhysicsObject>,- ConstConvexShapeSettings,- ConstJoltPhysicsObject,- ConstSerializableObject,- ConstShapeSettings
- All Known Implementing Classes:
- BoxShapeSettings
Read-only access to a 
BoxShapeSettings object. (native type: const
 BoxShapeSettings)- 
Method SummaryModifier and TypeMethodDescriptionfloatReturn the convex radius.Copy the extent of the box.Methods inherited from interface java.lang.ComparablecompareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstConvexShapeSettingsgetDensity, getMaterialMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObjectclose, hasAssignedNativeObject, ownsNativeObject, targetVaMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstSerializableObjectgetRttiMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstShapeSettingscreate, getRefCount, toRefC
- 
Method Details- 
getConvexRadiusfloat getConvexRadius()Return the convex radius. The settings are unaffected.- Returns:
- the convex radius (≥0)
 
- 
getHalfExtentVec3 getHalfExtent()Copy the extent of the box. The settings are unaffected.- Returns:
- a new vector: one-half of extent on each local axis
 
 
-