Class GroupFilterTableRef

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

public final class GroupFilterTableRef extends Ref
A counted reference to a GroupFilterTable object. (native type: Ref<GroupFilterTable>)
  • Method Details

    • disableCollision

      public void disableCollision(int subGroup1, int subGroup2)
      Disable collisions between the specified subgroups.
      Parameters:
      subGroup1 - the ID of the first subgroup
      subGroup2 - the ID of the 2nd subgroup
    • enableCollision

      public void enableCollision(int subGroup1, int subGroup2)
      Enable collisions between the specified subgroups.
      Parameters:
      subGroup1 - the ID of the first subgroup
      subGroup2 - the ID of the 2nd subgroup
    • getPtr

      public GroupFilterTable getPtr()
      Temporarily access the referenced GroupFilter.
      Specified by:
      getPtr in class Ref
      Returns:
      a new JVM object that refers to the pre-existing native object
    • toRef

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