Package com.github.stephengold.joltjni
Class VehicleCollisionTesterCastCylinderRef
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.template.Ref
com.github.stephengold.joltjni.VehicleCollisionTesterCastCylinderRef
- All Implemented Interfaces:
ConstJoltPhysicsObject
,AutoCloseable
,Comparable<JoltPhysicsObject>
A counted reference to a
VehicleCollisionTesterCastCylinder
. (native
type: Ref<VehicleCollisionTesterCastCylinder>
)-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, toString, va
-
Constructor Details
-
VehicleCollisionTesterCastCylinderRef
public VehicleCollisionTesterCastCylinderRef()Instantiate an empty reference.
-
-
Method Details
-
getPtr
Temporarily access the referencedVehicleCollisionTesterCastCylinder
. -
targetVa
public long targetVa()Return the address of the nativeVehicleCollisionTesterCastCylinder
. No objects are affected.- Specified by:
targetVa
in interfaceConstJoltPhysicsObject
- Overrides:
targetVa
in classJoltPhysicsObject
- Returns:
- a virtual address (not zero)
-
toRef
Create another counted reference to the nativeVehicleCollisionTesterCastCylinder
.
-