docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetPerspective

    SetPerspective(double, double, double, double)

    Declaration
    public void SetPerspective(double fieldOfViewHeight, double aspectRatio, double nearDistance, double farDistance)
    Parameters
    Type Name Description
    double fieldOfViewHeight
    double aspectRatio
    double nearDistance
    double farDistance

    SetPerspective(double, bool, double, double, double)

    Declaration
    public void SetPerspective(double fieldOfView, bool isFovVertical, double aspectRatio, double nearDistance, double farDistance)
    Parameters
    Type Name Description
    double fieldOfView
    bool isFovVertical
    double aspectRatio
    double nearDistance
    double farDistance
    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)