docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetPerspectiveFromAspectRatioAndFieldOfView

    SetPerspectiveFromAspectRatioAndFieldOfView(float, float, FOVDirection, float)

    Declaration
    public void SetPerspectiveFromAspectRatioAndFieldOfView(float aspectRatio, float fieldOfView, GfCamera.FOVDirection direction, float horizontalAperture)
    Parameters
    Type Name Description
    float aspectRatio
    float fieldOfView
    GfCamera.FOVDirection direction
    float horizontalAperture

    SetPerspectiveFromAspectRatioAndFieldOfView(float, float, FOVDirection)

    Declaration
    public void SetPerspectiveFromAspectRatioAndFieldOfView(float aspectRatio, float fieldOfView, GfCamera.FOVDirection direction)
    Parameters
    Type Name Description
    float aspectRatio
    float fieldOfView
    GfCamera.FOVDirection direction
    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)