docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PhysicallyBasedSky

    Physically Based Sky Volume Component.

    Inheritance
    object
    Object
    ScriptableObject
    VolumeComponent
    SkySettings
    PhysicallyBasedSky
    Implements
    IApplyRevertPropertyContextMenuItemProvider
    IVersionable<PhysicallyBasedSky.Version>
    Inherited Members
    SkySettings.rotation
    SkySettings.skyIntensityMode
    SkySettings.exposure
    SkySettings.multiplier
    SkySettings.upperHemisphereLuxValue
    SkySettings.upperHemisphereLuxColor
    SkySettings.desiredLuxValue
    SkySettings.updateMode
    SkySettings.updatePeriod
    SkySettings.includeSunInBaking
    SkySettings.GetUniqueID<T>()
    SkySettings.GetUniqueID(Type)
    SkySettings.GetIntensityFromSettings()
    SkySettings.SignificantlyDivergesFrom(SkySettings)
    VolumeComponent.active
    VolumeComponent.displayName
    VolumeComponent.parameters
    VolumeComponent.OnEnable()
    VolumeComponent.OnDisable()
    VolumeComponent.Override(VolumeComponent, float)
    VolumeComponent.SetAllOverridesTo(bool)
    VolumeComponent.AnyPropertiesIsOverridden()
    VolumeComponent.OnDestroy()
    VolumeComponent.Release()
    VolumeComponent.TryGetRevertMethodForFieldName(SerializedProperty, out Action<SerializedProperty>)
    VolumeComponent.GetSourceTerm()
    VolumeComponent.TryGetApplyMethodForFieldName(SerializedProperty, out Action<SerializedProperty>)
    VolumeComponent.GetSourceName(Component)
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [VolumeComponentMenu("Sky/Physically Based Sky")]
    [SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
    [SkyUniqueID(4)]
    public class PhysicallyBasedSky : SkySettings, IApplyRevertPropertyContextMenuItemProvider, IVersionable<PhysicallyBasedSky.Version>

    Fields

    Name Description
    aerosolAnisotropy

    Positive values for forward scattering, 0 for isotropic scattering. negative values for backward scattering.

    aerosolDensity

    Opacity of aerosols as measured by an observer on the ground looking towards the zenith.

    aerosolMaximumAltitude

    Depth of the atmospheric layer (from the sea level) composed of aerosol particles. Controls the rate of height-based density falloff. Units: meters.

    aerosolTint

    Single scattering albedo of aerosol molecules (per color channel). The value of 0 results in absorbing molecules, and the value of 1 results in scattering ones.

    airDensityB

    Opacity (per color channel) of air as measured by an observer on the ground looking towards the zenith.

    airDensityG

    Opacity (per color channel) of air as measured by an observer on the ground looking towards the zenith.

    airDensityR

    Opacity (per color channel) of air as measured by an observer on the ground looking towards the zenith.

    airMaximumAltitude

    Depth of the atmospheric layer (from the sea level) composed of air particles. Controls the rate of height-based density falloff. Units: meters.

    airTint

    Single scattering albedo of air molecules (per color channel). The value of 0 results in absorbing molecules, and the value of 1 results in scattering ones.

    alphaMultiplier

    Opacity multiplier. Does not affect the precomputation.

    alphaSaturation

    Opacity saturation. Does not affect the precomputation.

    colorSaturation

    Color saturation. Does not affect the precomputation.

    groundColorTexture

    Ground color texture. Does not affect the precomputation.

    groundEmissionMultiplier

    Ground emission multiplier. Does not affect the precomputation.

    groundEmissionTexture

    Ground emission texture. Does not affect the precomputation.

    groundTint

    Ground tint.

    horizonTint

    Horizon tint. Does not affect the precomputation.

    horizonZenithShift

    Horizon-zenith shift. Does not affect the precomputation.

    k_Migration

    The migration steps for PhysicallyBasedSky

    numberOfBounces

    Number of scattering events.

    planetCenterPosition

    Position of the center of the planet in the world space. Units: meters. Does not affect the precomputation.

    planetRotation

    Rotation of the planet. Does not affect the precomputation.

    planetaryRadius

    Radius of the planet (distance from the center of the planet to the sea level). Units: meters.

    seaLevel

    World-space Y coordinate of the sea level of the planet. Units: meters.

    spaceEmissionMultiplier

    Space emission multiplier. Does not affect the precomputation.

    spaceEmissionTexture

    Space emission texture. Does not affect the precomputation.

    spaceRotation

    Rotation of space. Does not affect the precomputation.

    sphericalMode

    Allows to specify the location of the planet. If disabled, the planet is always below the camera in the world-space X-Z plane.

    type

    Simplifies the interface by reducing the number of parameters available.

    zenithTint

    Zenith tint. Does not affect the precomputation.

    Methods

    Name Description
    GetHashCode()

    Returns the hash code of the parameters of the sky.

    GetHashCode(Camera)

    Returns the hash code of the sky parameters.

    GetSkyRendererType()

    Returns the type of the sky renderer.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)