Class GradientSky
Gradient Sky Volume Component. This component setups gradient sky for rendering.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[SkyUniqueID(3)]
public class GradientSky : SkySettings
Fields
bottom
Bottom color of the gradient sky.
Declaration
public ColorParameter bottom
Field Value
| Type | Description | 
|---|---|
| ColorParameter | 
gradientDiffusion
Size of the horizon (middle color.
Declaration
public FloatParameter gradientDiffusion
Field Value
| Type | Description | 
|---|---|
| FloatParameter | 
middle
Middle color of the gradient sky.
Declaration
public ColorParameter middle
Field Value
| Type | Description | 
|---|---|
| ColorParameter | 
top
Top color of the gradient sky.
Declaration
public ColorParameter top
Field Value
| Type | Description | 
|---|---|
| ColorParameter | 
Methods
GetHashCode()
Returns the hash code of the gradient sky parameters.
Declaration
public override int GetHashCode()
Returns
| Type | Description | 
|---|---|
| Int32 | The hash code of the gradient sky parameters.  | 
Overrides
GetSkyRendererType()
Returns GradientSkyRenderer type.
Declaration
public override Type GetSkyRendererType()
Returns
| Type | Description | 
|---|---|
| Type | GradientSkyRenderer type.  |