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;
Source
Matrix4 get transformMatrix { if (_transformMatrix == null) { _transformMatrix = computeTransformMatrix(); } return _transformMatrix; }