Class RectExtension
Rect extension
Inherited Members
Namespace: UnityEditor.Rendering.LookDev
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public static class RectExtension
Methods
IsNullOrInverted(Rect)
Return true if the UnityEngine.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 |
---|---|
bool | True: null or inverted area |