Enum DynamicResScalePolicyType | Core RP Library | 7.3.1
docs.unity.cn
    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
    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.

    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.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX