markBoundsDirty method
void
markBoundsDirty()
Mark this node's combinedLocalBounds cache (and every ancestor's) stale. Call after replacing a mesh, mutating a child's local transform in place, or any other change that affects the bound.
Implementation
void markBoundsDirty() {
Node? current = this;
while (current != null && current._combinedBoundsCached) {
current._combinedBoundsCache = null;
current._combinedBoundsCached = false;
current = current._parent;
}
}