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
Modifier and TypeMethodDescriptiongetPtr()
Temporarily access the referencedConstPhysicsMaterial
.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Method Details
-
getPtr
Temporarily access the referencedConstPhysicsMaterial
.- Returns:
- a new JVM object with the pre-existing native object assigned
-