docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetPerspective

    GetPerspective(out double, out double, out double, out double)

    Declaration
    public bool GetPerspective(out double fieldOfViewHeight, out double aspectRatio, out double nearDistance, out double farDistance)
    Parameters
    Type Name Description
    double fieldOfViewHeight
    double aspectRatio
    double nearDistance
    double farDistance
    Returns
    Type Description
    bool

    GetPerspective(bool, out double, out double, out double, out double)

    Declaration
    public bool GetPerspective(bool isFovVertical, out double fieldOfView, out double aspectRatio, out double nearDistance, out double farDistance)
    Parameters
    Type Name Description
    bool isFovVertical
    double fieldOfView
    double aspectRatio
    double nearDistance
    double farDistance
    Returns
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)