docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsViewPortRectValidToRender

    IsViewPortRectValidToRender(Rect)

    Check if the view port rect have a positive size

    Declaration
    public static bool IsViewPortRectValidToRender(Rect normalizedViewPortRect)
    Parameters
    Type Name Description
    Rect normalizedViewPortRect

    The rect to check

    Returns
    Type Description
    bool

    True: the rect have positive size

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)