Interface ConstConvexShapeSettings
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject,ConstSerializableObject,ConstShapeSettings
- All Known Subinterfaces:
ConstBoxShapeSettings
- 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, targetVaMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstSerializableObject
getRttiMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstShapeSettings
create, getRefCount, toRefC
-
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
-