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

public class InvBind extends JoltPhysicsObject
Transform a skinned vertex from its bind pose to joint local space. (native type: SoftBodySharedSettings::InvBind)
  • Constructor Details

    • InvBind

      public InvBind()
      Instantiate a default instance.
    • InvBind

      public InvBind(int jointIndex, Mat44Arg transform)
      Instantiate with the specified joint index and coordinate transform.
      Parameters:
      jointIndex - the desired joint index (≥0)
      transform - the desired inverse-bind transform (not null, unaffected)
  • Method Details

    • getInvBind

      public Mat44 getInvBind()
      Copy the inverse-bind transform matrix. The current instance is unaffected. (native attribute: mInvBind)
      Returns:
      a new matrix
    • getJointIndex

      public int getJointIndex()
      Return the joint index. The current instance is unaffected. (native attribute: mJointIndex)
      Returns:
      the index of the joint (≥0)