Skip to main content

Class YauiMask

Masks the descendants of this element to its shape: the box with its corner radii, or, on a Yaui.YauiImage with a sprite, the sprite's alpha. Masks nest to any depth (up to 255) through the stencil buffer, at the cost of splitting the draw call at the mask's boundaries.

Assembly: Yaui.dll​
View Source​
Declaration
public sealed class YauiMask : MonoBehaviour

Properties​

ShowMaskGraphic​

View Source​
Declaration
public bool ShowMaskGraphic { get; set; }