windingFlipped property

bool get windingFlipped

Whether this node's accumulated transform reverses triangle winding (a mirror / negative scale somewhere up the chain). The renderer flips cull winding for such nodes so their front faces are not culled.

Implementation

bool get windingFlipped {
  // Touch globalTransform to refresh the cache (which sets _windingFlipped).
  globalTransform;
  return _windingFlipped;
}