docs.unity.cn
    Show / Hide Table of Contents

    Class Fog

    This class holds settings for the Fog effect with the deferred rendering path.

    Inheritance
    Object
    Fog
    Namespace: UnityEngine.Rendering.PostProcessing
    Syntax
    public sealed class Fog : object

    Fields

    enabled

    If true, enables the internal deferred fog pass. Actual fog settings should be set in the Lighting panel.

    Declaration
    public bool enabled
    Field Value
    Type Description
    Boolean

    excludeSkybox

    Should the fog affect the skybox?

    Declaration
    public bool excludeSkybox
    Field Value
    Type Description
    Boolean
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, April 14, 2022
    Terms of use