Package com.github.stephengold.joltjni
Class PhysicsMaterialRefC
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.PhysicsMaterialRefC
- All Implemented Interfaces:
ConstJoltPhysicsObject,AutoCloseable,Comparable<JoltPhysicsObject>
A counted reference to a
ConstPhysicsMaterial. (native type:
RefConst<PhysicsMaterial>)-
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
-
Method Details
-
getPtr
Access the targeted material, if any.- Returns:
- the pre-existing object, or
nullif the reference is empty
-