Class RectExtension
Rect extension
Namespace: UnityEditor.Rendering.LookDev
Syntax
public static class RectExtension
Methods
IsNullOrInverted(Rect)
Return true if the Rect is null sized or inverted.
Declaration
public static bool IsNullOrInverted(this Rect r)
Parameters
| Type | Name | Description | 
|---|---|---|
| Rect | r | The rect  | 
Returns
| Type | Description | 
|---|---|
| Boolean | True: null or inverted area  |