summaryrefslogtreecommitdiff
path: root/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/IClipRegion.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/IClipRegion.cs')
-rw-r--r--Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/IClipRegion.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/IClipRegion.cs b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/IClipRegion.cs
new file mode 100644
index 0000000..4593f17
--- /dev/null
+++ b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/IClipRegion.cs
@@ -0,0 +1,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);
+ }
+}