Class ShapeSettingsRef

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

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

    • getPtr

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

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