Interface ConstConvexShapeSettings
- All Superinterfaces:
Comparable<ConstJoltPhysicsObject>,ConstJoltPhysicsObject
- All Known Implementing Classes:
BoxShapeSettings,CapsuleShapeSettings,ConvexHullShapeSettings,ConvexShapeSettings,CylinderShapeSettings,SphereShapeSettings,TaperedCapsuleShapeSettings,TaperedCylinderShapeSettings,TriangleShapeSettings
Read-only access to a
ConvexShapeSettings object. (native type: const
ConvexShapeSettings)-
Method Summary
Modifier and TypeMethodDescriptionfloatReturn the density.Return the material.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, va
-
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
nullif none
-