docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetLowResMultiplier

    GetLowResMultiplier(float)

    Returns the resolved low res multiplier based on the low res transparency threshold settings. Note: The pipeline can use this to drive the scale for low res transparency if available.

    Declaration
    public float GetLowResMultiplier(float targetLowRes)
    Parameters
    Type Name Description
    float targetLowRes

    the target low resolution. If by any chance thresholding is disabled or clamped, the exact same resolution is returned. This allows the caller to directly compare the float result safely with the floating point target resolution.

    Returns
    Type Description
    float

    Returns the resolved low res multiplier based on the low transparency threshold settings.

    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)