docs.unity.cn
    Show / Hide Table of Contents

    Enum DepthOfFieldMode

    Focusing modes for the depth of field effect.

    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public enum DepthOfFieldMode

    Fields

    Name Description Value
    Off

    Disables depth of field.


    0
    Gaussian

    Use this for faster but non physical depth of field.


    1
    Bokeh

    Use this for a more realistic but slower depth of field.


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