MaskableGraphic
class in UnityEngine.UI · UnityEngine.UI · inherits from Graphic
15 of 19 of Unity's members
In Tassix
A graphic that masks clip: a RectMask2D above it clips it to its rect and culls it when it's entirely outside.
Properties 3
bool isMaskingGraphic { get; set; }bool maskable { get; set; }CullStateChangedEvent onCullStateChanged { get; set; }Methods 6
virtual void Cull(Rect clipRect, bool validRect)virtual void RecalculateClipping()virtual void RecalculateMasking()virtual void SetClipRect(Rect clipRect, bool validRect)virtual void SetClipSoftness(Vector2 clipSoftness)Not in Tassix yet 4
OnValidate m_MaskMaterial m_ShouldRecalculateStencil m_StencilValue