getTransformTo method Null safety
- RenderObject? ancestor
Applies the paint transform up the tree to ancestor
.
Returns a matrix that maps the local paint coordinate system to the
coordinate system of ancestor
.
If ancestor
is null, this method returns a matrix that maps from the
local paint coordinate system to the coordinate system of the
PipelineOwner.rootNode.
Implementation
Matrix4 getTransformTo(RenderObject? ancestor);