Class GroupFilterRef

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

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

    • GroupFilterRef

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

    • getPtrAsTable

      public GroupFilterTable getPtrAsTable()
      Temporarily access the referenced filter, assuming it is a GroupFilterTable.
      Returns:
      a new JVM object with the pre-existing native object assigned
    • getPtr

      public GroupFilter getPtr()
      Temporarily access the referenced GroupFilter.
      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 GroupFilter. No objects are affected.
      Specified by:
      targetVa in interface ConstJoltPhysicsObject
      Overrides:
      targetVa in class JoltPhysicsObject
      Returns:
      a virtual address (not zero)
    • toRef

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