getInverseBindMatrix abstract method

Future<Matrix4> getInverseBindMatrix(
  1. ThermionEntity parent,
  2. int boneIndex, {
  3. int skinIndex = 0,
})

Gets the inverse bind (pose) matrix for the bone. Note that parent must be the ThermionEntity returned by loadGlb/loadGltf, not any other method (getChildEntity etc). This is because all joint information is internally stored with the parent entity.

Implementation

Future<Matrix4> getInverseBindMatrix(ThermionEntity parent, int boneIndex,
    {int skinIndex = 0});