Version 2.1.0.0

GUIClipInfo class

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.Utilities.Editor
public static class GUIClipInfo
Emitted wrapper for the internal "UnityEngine.GUIClip" class.
Inheritance
  • System.Object
  • GUIClipInfo

Properties

Enabled
Not yet documented.
public static bool Enabled { get; }
TopMostRect
Gets the top most clipped rect.
public static Rect TopMostRect { get; }
TopRect
Gets the top rect.
public static Rect TopRect { get; }
VisibleRect
Gets the visible rect.
public static Rect VisibleRect { get; }

Methods

Unclip(Rect)
Unclips the specified rect.
public static Rect Unclip(Rect rect)
Parameters
UnityEngine.Rect rect

The rect.

Returns
UnityEngine.Rect

Unclip(Vector2)
Unclips the specified position.
public static Vector2 Unclip(Vector2 pos)
Parameters
UnityEngine.Vector2 pos

The position.

Returns
UnityEngine.Vector2

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.