Package com.github.stephengold.joltjni
Class ShapeSettingsRefC
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.ShapeSettingsRefC
- All Implemented Interfaces:
ConstJoltPhysicsObject,AutoCloseable,Comparable<JoltPhysicsObject>
A counted reference to a
ConstShapeSettings. (native type:
RefConst<ShapeSettings>)-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, isCleanerStarted, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Constructor Details
-
ShapeSettingsRefC
public ShapeSettingsRefC()Instantiate an empty reference.
-
-
Method Details
-
getPtr
Access the targeted settings, if any.- Returns:
- the pre-existing object, or
nullif the reference is empty
-
toRefC
Create another read-only counted reference to the targeted settings.- Returns:
- a new JVM object with a new native object assigned
-