markTransformDirty method

void markTransformDirty()

Marks this node's transform changed: its own and its descendants' cached world transforms become stale, and its own and its ancestors' cached bounds become stale.

Assigning localTransform does this automatically. Call it manually only after mutating the localTransform matrix in place.

Implementation

void markTransformDirty() {
  _markWorldTransformDirty();
  markBoundsDirty();
}