stackedTransform
Calculates the stacked transform of the node by traversing up the tree and concatenating the transform attributes of the ancestors.
Return
The stacked transform of the node.
Parameters
parent
The parent node of the current node.