Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloserectMaskParents | RectMasks to build the overlap rect from. |
validRect | Was there a valid Rect found. |
Rect The compound Rect.
Find the Rect to use for clipping.
Given the input RectMask2ds find a rectangle that is the overlap of all the inputs.