Scripting API

Mask

class in UnityEngine.UI · UnityEngine.UI · inherits from UIBehaviour

9 of 10 of Unity's members
In Tassix

Masks its children to its graphic. Tassix clips them to its rect (Unity uses the graphic's shape, through the stencil buffer); with showMaskGraphic off, the mask's own graphic isn't drawn.

Properties 3

Graphic? graphic { get; }
RectTransform rectTransform { get; }
bool showMaskGraphic { get; set; }

Methods 4

virtual Material GetModifiedMaterial(Material baseMaterial)
virtual bool IsRaycastLocationValid(Vector2 sp, Camera eventCamera)
virtual bool MaskEnabled()
virtual void OnSiblingGraphicEnabledDisabled()

Not in Tassix yet 1

OnValidate