Class GradientSky
Gradient Sky Volume Component. This component setups gradient sky for rendering.
Implements
Inherited Members
VolumeComponent.active
VolumeComponent.displayName
VolumeComponent.parameters
VolumeComponent.OnEnable()
VolumeComponent.OnDisable()
VolumeComponent.AnyPropertiesIsOverridden()
VolumeComponent.OnDestroy()
VolumeComponent.Release()
VolumeComponent.GetSourceTerm()
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[VolumeComponentMenu("Sky/Gradient Sky")]
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
[SkyUniqueID(3)]
public class GradientSky : SkySettings, IApplyRevertPropertyContextMenuItemProvider
Fields
Name | Description |
---|---|
bottom | Bottom color of the gradient sky. |
gradientDiffusion | Size of the horizon (middle color. |
middle | Middle color of the gradient sky. |
top | Top color of the gradient sky. |
Methods
Name | Description |
---|---|
GetHashCode() | Returns the hash code of the gradient sky parameters. |
GetSkyRendererType() | Returns GradientSkyRenderer type. |