summaryrefslogtreecommitdiff
path: root/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/IClipRegion.cs
blob: 4593f17ea391ffde0099ef932a0ea193d66c38b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace UnityEngine.UI
{
    public interface IClipper
    {
        void PerformClipping();
    }

    public interface IClippable
    {
        GameObject gameObject { get; }
        void RecalculateClipping();
        RectTransform rectTransform { get; }
        void Cull(Rect clipRect, bool validRect);
        void SetClipRect(Rect value, bool validRect);
    }
}