docs.unity3d.com
    Show / Hide Table of Contents

    Class GradientSky

    Gradient Sky Volume Component. This component setups gradient sky for rendering.

    Inheritance
    Object
    VolumeComponent
    SkySettings
    GradientSky
    Inherited Members
    SkySettings.rotation
    SkySettings.skyIntensityMode
    SkySettings.exposure
    SkySettings.multiplier
    SkySettings.upperHemisphereLuxValue
    SkySettings.upperHemisphereLuxColor
    SkySettings.desiredLuxValue
    SkySettings.updateMode
    SkySettings.updatePeriod
    SkySettings.includeSunInBaking
    SkySettings.GetHashCode(Camera)
    SkySettings.GetUniqueID<T>()
    SkySettings.GetUniqueID(Type)
    SkySettings.GetIntensityFromSettings()
    SkySettings.SignificantlyDivergesFrom(SkySettings)
    VolumeComponent.active
    VolumeComponent.OnEnable()
    VolumeComponent.OnDisable()
    VolumeComponent.Override(VolumeComponent, Single)
    VolumeComponent.SetAllOverridesTo(Boolean)
    VolumeComponent.AnyPropertiesIsOverridden()
    VolumeComponent.OnDestroy()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [VolumeComponentMenuForRenderPipeline("Sky/Gradient Sky", new Type[]{typeof(HDRenderPipeline)})]
    [SkyUniqueID(3)]
    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
    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
    FloatParameter

    middle

    Middle color of the gradient sky.

    Declaration
    [Tooltip("Specifies the color at the horizon.")]
    public ColorParameter middle
    Field Value
    Type Description
    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
    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
    SkySettings.GetHashCode()

    GetSkyRendererType()

    Returns GradientSkyRenderer type.

    Declaration
    public override Type GetSkyRendererType()
    Returns
    Type Description
    Type

    GradientSkyRenderer type.

    Overrides
    SkySettings.GetSkyRendererType()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023