Class Fog
This class holds settings for the Fog effect with the deferred rendering path.
Inheritance
System.Object
Fog
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
[Serializable]
public sealed class Fog
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 |
---|---|
System.Boolean |
excludeSkybox
Should the fog affect the skybox?
Declaration
public bool excludeSkybox
Field Value
Type | Description |
---|---|
System.Boolean |