docs.unity3d.com
    Show / Hide Table of Contents

    Enum DynamicResScalePolicyType

    The type of dynamic resolution scaler. It essentially defines what the output of the scaler is expected to be.

    Namespace: UnityEngine.Rendering
    Syntax
    public enum DynamicResScalePolicyType

    Fields

    Name Description Value
    ReturnsPercentage

    If is the option, DynamicResolutionHandler expects the scaler to return a screen percentage. The value set will be clamped between the minimum and maximum percentage set in the GlobalDynamicResolutionSettings.

    0
    ReturnsMinMaxLerpFactor

    If is the option, DynamicResolutionHandler expects the scaler to return a factor t in the [0..1] such that the final resolution percentage is determined by lerp(minimumPercentage, maximumPercentage, t), where the minimum and maximum percentages are the one set in the GlobalDynamicResolutionSettings.

    1

    Extension Methods

    ReflectionUtils.Invoke(String, Object[])
    ReflectionUtils.SetField(String, Object)
    ReflectionUtils.GetField(String)
    ReflectionUtils.GetFields()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023