UnityEngine.Rect
class UnityEngine.Rect
Fields and Properties:
- (static) UnityEngine.Rect UnityEngine.Rect.zero
- float x
- float y
- UnityEngine.Vector2 position
- UnityEngine.Vector2 center
- UnityEngine.Vector2 min
- UnityEngine.Vector2 max
- float width
- float height
- UnityEngine.Vector2 size
- float xMin
- float yMin
- float xMax
- float yMax
- float left
- float right
- float top
- float bottom
Constructors:
- UnityEngine.Rect.New(float, float, float, float)
- UnityEngine.Rect.New(UnityEngine.Vector2, UnityEngine.Vector2)
- UnityEngine.Rect.New(UnityEngine.Rect)
Methods:
- (static) UnityEngine.Rect UnityEngine.Rect.MinMaxRect(float, float, float, float)
- void Set(float, float, float, float)
- bool Contains(UnityEngine.Vector2)
- bool Contains(UnityEngine.Vector3)
- bool Contains(UnityEngine.Vector3, bool)
- bool Overlaps(UnityEngine.Rect)
- bool Overlaps(UnityEngine.Rect, bool)
- (static) UnityEngine.Vector2 UnityEngine.Rect.NormalizedToPoint(UnityEngine.Rect, UnityEngine.Vector2)
- (static) UnityEngine.Vector2 UnityEngine.Rect.PointToNormalized(UnityEngine.Rect, UnityEngine.Vector2)
- int GetHashCode()
- bool Equals(object)
- bool Equals(UnityEngine.Rect)
- string ToString()
- string ToString(string)
- string ToString(string, System.IFormatProvider)