Interface ConstBoxShapeSettings

All Superinterfaces:
Comparable<JoltPhysicsObject>, ConstConvexShapeSettings, ConstJoltPhysicsObject, ConstSerializableObject, ConstShapeSettings
All Known Implementing Classes:
BoxShapeSettings

public interface ConstBoxShapeSettings extends ConstConvexShapeSettings
Read-only access to a BoxShapeSettings object. (native type: const BoxShapeSettings)
  • Method Details

    • getConvexRadius

      float getConvexRadius()
      Return the convex radius. The settings are unaffected.
      Returns:
      the convex radius (≥0)
    • getHalfExtent

      Vec3 getHalfExtent()
      Copy the extent of the box. The settings are unaffected.
      Returns:
      a new vector: one-half of extent on each local axis