docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetDynamicResScaler

    SetDynamicResScaler(PerformDynamicRes, DynamicResScalePolicyType)

    Set the scaler method used to drive dynamic resolution by the user.

    Declaration
    public static void SetDynamicResScaler(PerformDynamicRes scaler, DynamicResScalePolicyType scalerType = DynamicResScalePolicyType.ReturnsMinMaxLerpFactor)
    Parameters
    Type Name Description
    PerformDynamicRes scaler

    The delegate used to determine the resolution percentage used by the dynamic resolution system.

    DynamicResScalePolicyType scalerType

    The type of scaler that is used, this is used to indicate the return type of the scaler to the dynamic resolution system.

    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)