LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

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.