updateMatrixWorld method

  1. @override
void updateMatrixWorld([
  1. bool force = false
])
override

Implementation

@override
void updateMatrixWorld([bool force = false]) {
  super.updateMatrixWorld(force);

  if (bindMode == 'attached') {
    bindMatrixInverse.copy(matrixWorld).invert();
  } else if (bindMode == 'detached') {
    bindMatrixInverse.copy(bindMatrix!).invert();
  } else {
    print('three.SkinnedMesh: Unrecognized bindMode: $bindMode');
  }
}