Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

IClippable

interface in UnityEngine.UI

Description

Interface for elements that can be clipped if they are under an [[IClipper].

Properties

gameObject GameObject of the IClippable.
rectTransform RectTransform of the clippable.

Public Methods

CullClip and cull the IClippable given the clipRect.
RecalculateClippingCalled when the state of a parent IClippable changes.
SetClipRectSet the clip rect for the IClippable.

Did you find this page useful? Please give it a rating: