A RectMask2D is a masking control similar to the MaskCan refer to a Sprite Mask, a UI Mask, or a Layer Mask More info
See in Glossary control. The mask restricts the child elements to the rectangle of the parent element. Unlike the standard Mask control it has some limitations, but it also has a number of performance benefits.
A common use of a RectMask2D is to show small sections of a larger area. Using the RectMask2D to frame this area.
The limitations of RectMask2D control are:
The advantages of RectMask2D are:
Did you find this page useful? Please give it a rating: