updateMatrix method

dynamic updateMatrix()

Implementation

updateMatrix() {
  matrix.setUvTransform(offset.x, offset.y, repeat.x, repeat.y, rotation, center.x, center.y);
}