transformMatrix property

Matrix4 transformMatrix

The transformation matrix used to transform the root node to the space of the box.

It's uncommon to need access to this property.

var matrix = mySpriteBox.transformMatrix;

Implementation

Matrix4 get transformMatrix {
  // Get cached matrix if available
  if (_transformMatrix == null) {
    _calcTransformMatrix();
  }
  return _transformMatrix!;
}