Class VehicleCollisionTesterCastSphereRef

All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<JoltPhysicsObject>

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

    • VehicleCollisionTesterCastSphereRef

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

    • getPtr

      Temporarily access the referenced VehicleCollisionTesterCastSphere.
      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 VehicleCollisionTesterCastSphere. 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 VehicleCollisionTesterCastSphere.
      Specified by:
      toRef in class Ref
      Returns:
      a new JVM object with a new native object assigned