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()
      Access the targeted material, if any.
      Returns:
      the pre-existing object, or null if the reference is empty