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>

public final class VehicleCollisionTesterCastCylinderRef extends Ref
A counted reference to a VehicleCollisionTesterCastCylinder. (native type: Ref<VehicleCollisionTesterCastCylinder>)
  • Constructor Details

    • VehicleCollisionTesterCastCylinderRef

      public VehicleCollisionTesterCastCylinderRef()
      Instantiate an empty reference.
  • Method Details

    • getPtr

      Temporarily access the referenced VehicleCollisionTesterCastCylinder.
      Specified by:
      getPtr in class Ref
      Returns:
      a new JVM object with the pre-existing native object assigned
    • targetVa

      public long targetVa()
      Return the address of the native VehicleCollisionTesterCastCylinder. No objects are affected.
      Specified by:
      targetVa in interface ConstJoltPhysicsObject
      Overrides:
      targetVa in class JoltPhysicsObject
      Returns:
      a virtual address (not zero)
    • toRef

      Create another counted reference to the native VehicleCollisionTesterCastCylinder.
      Specified by:
      toRef in class Ref
      Returns:
      a new JVM object with a new native object assigned