updateBoneMatrices method

  1. @override
Future updateBoneMatrices(
  1. ThermionEntity entity
)
override

Updates the bone matrices for entity (which must be the ThermionEntity returned by loadGlb/loadGltf). Under the hood, this just calls updateBoneMatrices on the Animator instance of the relevant FilamentInstance (which uses the local bone transform and the inverse bind matrix to set the bone matrix).

Implementation

@override
Future updateBoneMatrices(ThermionEntity entity) {
  return _shim.updateBoneMatrices(entity).toDart;
}