Class HDRISky
HDRI Sky Volume Component. This component setups HDRI sky for rendering.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[VolumeComponentMenu("Sky/HDRI Sky")]
[SkyUniqueID(1)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Override-HDRI-Sky.html")]
public class HDRISky : SkySettings
필드
이름 | 설명 |
---|---|
backplateType | Backplate Type {Disc, Rectangle, Ellipse, Infinite (Plane)}. |
blendAmount | Backplate blend parameter to blend the edge of the backplate with the background. |
dirLightShadow | Allow backplate to receive shadow from directional light. |
enableBackplate | Enable Backplate to have it visible. |
enableDistortion | Enable to have sky distortion. |
flowmap | Texture used to distort the uv for the HDRI sky. |
groundLevel | Define the ground level of the Backplate. |
hdriSky | Cubemap used to render the HDRI sky. |
plateRotation | Backplate rotation parameter for the geometry. |
plateTexOffset | Backplate projection offset on the plane. |
plateTexRotation | Backplate rotation parameter for the projected texture. |
pointLightShadow | Allow backplate to receive shadow from point light. |
procedural | Enable to have a simple, procedural distorsion. |
projectionDistance | Backplate's projection distance to varying the cubemap projection on the plate. |
rectLightShadow | Allow backplate to receive shadow from Area light. |
scale | Extent of the Backplate (if circle only the X value is considered). |
scrollDirection | Direction of the distortion. |
scrollSpeed | Speed of the distortion. |
shadowTint | Backplate Shadow Tint projected on the plane. |
upperHemisphereOnly | Enable to affect only the upper part of the sky. |
메서드
이름 | 설명 |
---|---|
GetHashCode() | Returns the hash code of the HDRI sky parameters. |
GetSkyRendererType() | Returns HDRISkyRenderer type. |
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. In addition to the checks done with the base function, this HDRISky override checks whether the cubemap parameter has changed if both settings are HDRISky. |