Class PhysicallyBasedSky
Physically Based Sky Volume Component.
Inherited Members
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. |