Interface ConstConvexShapeSettings

All Superinterfaces:
Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
BoxShapeSettings, CapsuleShapeSettings, ConvexHullShapeSettings, ConvexShapeSettings, CylinderShapeSettings, SphereShapeSettings, TaperedCapsuleShapeSettings, TaperedCylinderShapeSettings, TriangleShapeSettings

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

    • getDensity

      float getDensity()
      Return the density. The settings are unaffected.
      Returns:
      the value
    • getMaterial

      ConstPhysicsMaterial getMaterial()
      Return the material. The settings are unaffected.
      Returns:
      a new JVM object with the pre-existing native object assigned, or null if none