transformMatrix property

Matrix4 transformMatrix

The transformMatrix describes the transformation from the node's parent.

You cannot set the transformMatrix directly, instead use the position, rotation and scale properties.

Matrix4 matrix = myNode.transformMatrix;

Implementation

Matrix4 get transformMatrix {
  _transformMatrix ??= computeTransformMatrix();
  return _transformMatrix!;
}