Interface ConstConvexHullShapeSettings

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

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

    • copyPoint

      Vec3 copyPoint(int index)
      Copy one of the points to use when creating the hull. The settings are unaffected.
      Parameters:
      index - the index of the point to copy (≥0)
      Returns:
      a new location vector
    • copyPoints

      Vec3[] copyPoints()
      Copy the points to use when creating the hull. The settings are unaffected.
      Returns:
      a new array of new vectors
    • countPoints

      int countPoints()
      Count the points to use when creating the hull. The settings are unaffected.
      Returns:
      the count (≥0)
    • getHullTolerance

      float getHullTolerance()
      Return the positional tolerance used when generating the hull. The settings are unaffected.
      Returns:
      the distance (≥0)
    • getMaxConvexRadius

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

      float getMaxErrorConvexRadius()
      Return the maximum separation between the shrunk hull + convex radius and the actual hull. The settings are unaffected.
      Returns:
      the maximum separation (≥0)