Class SkySettings
Base class for custom Sky Settings.
Implements
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public abstract class SkySettings : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider
Fields
Name | Description |
---|---|
desiredLuxValue | Absolute intensity (in lux) of the sky. |
exposure | Exposure of the sky. |
includeSunInBaking | True if the sun disk should be included in the baking information (where available). |
multiplier | Intensity Multipler of the sky. |
rotation | Rotation of the sky. |
skyIntensityMode | Intensity mode of the sky. |
updateMode | Update mode of the sky. |
updatePeriod | In case of real-time update mode, time between updates. 0 means every frame. |
upperHemisphereLuxColor | Informative helper that displays Show the color of Shadow. |
upperHemisphereLuxValue | Informative helper that displays the relative intensity (in Lux) for the current HDR texture set in HDRI Sky. |
Methods
Name | Description |
---|---|
GetHashCode() | Returns the hash code of the sky parameters. When used with PBR Sky please use the GetHashCode variant that takes a camera as parameter. |
GetHashCode(Camera) | Returns the hash code of the sky parameters. |
GetIntensityFromSettings() | Returns the sky intensity as determined by this SkySetting. |
GetSkyRendererType() | Returns the class type of the SkyRenderer associated with this Sky Settings. |
GetUniqueID(Type) | Returns the sky type unique ID. Use this to override the skyType in the Visual Environment volume component. |
GetUniqueID<T>() | Returns the sky type unique ID. Use this to override the skyType in the Visual Environment volume component. |
SignificantlyDivergesFrom(SkySettings) | Determines if the SkySettings is significantly divergent from another. This is going to be used to determine whether to reset completely the ambient probe instead of using previous one when waiting for current data upon changes. Override this to have a per-sky specific heuristic. |