docs.unity.cn
    Show / Hide Table of Contents

    Class RectExtension

    Rect extension

    Inheritance
    Object
    RectExtension
    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

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 18 November 2022
    Terms of use