Legacy Documentation: Version 2017.1 (Go to current version)
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

gameObject GameObject of the IClippable.
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.

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