Class GradientSky
Gradient Sky Volume Component. This component setups gradient sky for rendering.
Inherited Members
UnityEngine.Rendering.VolumeComponent.active
UnityEngine.Rendering.VolumeComponent.OnEnable()
UnityEngine.Rendering.VolumeComponent.OnDisable()
UnityEngine.Rendering.VolumeComponent.Override(UnityEngine.Rendering.VolumeComponent, System.Single)
UnityEngine.Rendering.VolumeComponent.SetAllOverridesTo(System.Boolean)
UnityEngine.Rendering.VolumeComponent.OnDestroy()
UnityEngine.Rendering.VolumeComponent.Release()
UnityEngine.Rendering.VolumeComponent.displayName
UnityEngine.Rendering.VolumeComponent.parameters
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[SkyUniqueID(3)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.3/manual/Override-Gradient-Sky.html")]
public class GradientSky : SkySettings
Fields
bottom
Bottom color of the gradient sky.
Declaration
[Tooltip("Specifies the color of the lower hemisphere of the sky. This is below the horizon.")]
public ColorParameter bottom
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ColorParameter |
gradientDiffusion
Size of the horizon (middle color.
Declaration
[Tooltip("Sets the size of the horizon (Middle color).")]
public FloatParameter gradientDiffusion
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.FloatParameter |
middle
Middle color of the gradient sky.
Declaration
[Tooltip("Specifies the color at the horizon.")]
public ColorParameter middle
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ColorParameter |
top
Top color of the gradient sky.
Declaration
[Tooltip("Specifies the color of the upper hemisphere of the sky.")]
public ColorParameter top
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.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. |