docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property resolutionDepthRatio

    resolutionDepthRatio

    Controls how Unity shares resources between Screen (XY) and Depth (Z) resolutions.

    Declaration
    public float resolutionDepthRatio { get; set; }
    Property Value
    Type Description
    float
    Remarks

    A value of 0 means Unity allocates all of the resources to the XY resolution, which reduces aliasing, but increases noise. A value of 1 means Unity allocates all of the resources to the Z resolution, which reduces noise, but increases aliasing. This property allows for linear interpolation between the two configurations.

    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)