Class PhysicsMaterialRefC

java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.PhysicsMaterialRefC
All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<JoltPhysicsObject>

public final class PhysicsMaterialRefC extends JoltPhysicsObject
A counted reference to a ConstPhysicsMaterial. (native type: RefConst<PhysicsMaterial>)
  • Method Details

    • getPtr

      public ConstPhysicsMaterial getPtr()
      Temporarily access the referenced ConstPhysicsMaterial.
      Returns:
      a new JVM object with the pre-existing native object assigned