Interface ConstShapeSettings
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject,ConstSerializableObject
- All Known Subinterfaces:
ConstBoxShapeSettings,ConstConvexShapeSettings
- All Known Implementing Classes:
BoxShapeSettings,CapsuleShapeSettings,CompoundShapeSettings,ConvexHullShapeSettings,ConvexShapeSettings,CylinderShapeSettings,DecoratedShapeSettings,EmptyShapeSettings,HeightFieldShapeSettings,MeshShapeSettings,MutableCompoundShapeSettings,OffsetCenterOfMassShapeSettings,PlaneShapeSettings,RotatedTranslatedShapeSettings,ScaledShapeSettings,ShapeSettings,ShapeSettingsRef,SphereShapeSettings,StaticCompoundShapeSettings,TaperedCapsuleShapeSettings,TaperedCylinderShapeSettings,TriangleShapeSettings
Read-only access to a
ShapeSettings object. (native type: const
ShapeSettings)-
Method Summary
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
getRtti
-
Method Details
-
create
ShapeResult create()Generate aShapeResultfrom these settings.- Returns:
- a new JVM object with a new native object assigned
-
getRefCount
int getRefCount()Count the active references to the nativeShapeSettings. The settings are unaffected.- Returns:
- the count (≥0)
-
toRefC
ShapeSettingsRefC toRefC()Create a counted reference to the nativeShapeSettings.- Returns:
- a new JVM object with a new native object assigned
-