Class ConstraintSettingsRef

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

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

    • getPtr

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

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