Class SkeletonRef

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

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

    • getPtr

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

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