docs.unity.cn
    Show / Hide Table of Contents

    Enum FocusDistanceMode

    Options for the source of the focus distance HDRP uses in the depth of field calculations.

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public enum FocusDistanceMode

    Fields

    Name Description Value
    Volume

    Uses the focus distance from the Volume component.


    0
    Camera

    Uses the focus distance from the physical camera.


    1
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023