docs/bevy/release-content/release-notes/transformed_ui_clipping.md 583 B · 7 lines · raw · history

1 ---
2 title: "New CPU UI clipping implementation supporting rotation"
3 authors: ["@Ickshonpe"]
4 pull_requests: [24148]
5 ---
6
7 Until now, Bevy ignored rotation and scaling when clipping UI node overflow, causing content to be distorted or clipped in the wrong place. In Bevy 0.20 overflow clipping now supports rotated clipping regions, using a simplified version of the Sutherland–Hodgman algorithm.Descendants are clipped against each of the clipping regions inherited from their ancestors, instead of against a single axis aligned rectangle. The user-facing overflow API is unchanged.