Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

IClippable

interface in UnityEngine.UI

Description

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

Variables

rectTransform RectTransform of the clippable.

Public Functions

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