Interface ConstConvexShapeSettings
- All Superinterfaces:
Comparable<JoltPhysicsObject>
,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 TypeMethodDescriptionfloat
Return the density.Return the material.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
-
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
-