Class CloudLayer.CloudMap
Cloud Map Volume Parameters. This groups parameters for one cloud map layer.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
public class CloudMap
Fields
castShadows
Enable to cast shadows.
Declaration
[Tooltip("Projects a portion of the clouds around the sun light to simulate cloud shadows. This will override the cookie of your directional light.")]
public BoolParameter castShadows
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.BoolParameter |
cloudMap
Texture used to render the clouds.
Declaration
[Tooltip("Specify the texture HDRP uses to render the clouds (in LatLong layout).")]
public TextureParameter cloudMap
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.TextureParameter |
distortionMode
Distortion mode.
Declaration
[Tooltip("Distortion mode used to simulate cloud movement.\nIn Scene View, requires Always Refresh to be enabled.")]
public VolumeParameter<CloudDistortionMode> distortionMode
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.VolumeParameter<CloudDistortionMode> |
exposure
Relative exposure of the clouds.
Declaration
[Tooltip("Sets the exposure of the clouds in EV relative to the sun light intensity.")]
public FloatParameter exposure
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.FloatParameter |
flowmap
Texture used to distort the UVs for the cloud layer.
Declaration
[Tooltip("Specify the flowmap HDRP uses for cloud distortion (in LatLong layout).")]
public TextureParameter flowmap
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.TextureParameter |
lighting
Simulates cloud self-shadowing using raymarching.
Declaration
[Tooltip("Simulates cloud self-shadowing using raymarching.")]
public BoolParameter lighting
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.BoolParameter |
opacityA
Opacity multiplier for the alpha channel.
Declaration
[Tooltip("Opacity multiplier for the alpha channel.")]
public ClampedFloatParameter opacityA
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
opacityB
Opacity multiplier for the blue channel.
Declaration
[Tooltip("Opacity multiplier for the blue channel.")]
public ClampedFloatParameter opacityB
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
opacityG
Opacity multiplier for the green channel.
Declaration
[Tooltip("Opacity multiplier for the green channel.")]
public ClampedFloatParameter opacityG
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
opacityR
Opacity multiplier for the red channel.
Declaration
[Tooltip("Opacity multiplier for the red channel.")]
public ClampedFloatParameter opacityR
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
rotation
Rotation of the clouds.
Declaration
[Tooltip("Sets the rotation of the clouds (in degrees).")]
public ClampedFloatParameter rotation
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
scrollOrientation
Direction of the distortion. This value can be relative to the Global Wind Orientation defined in the Visual Environment.
Declaration
public WindOrientationParameter scrollOrientation
Field Value
Type | Description |
---|---|
WindOrientationParameter |
scrollSpeed
Speed of the distortion. This value can be relative to the Global Wind Speed defined in the Visual Environment.
Declaration
public WindSpeedParameter scrollSpeed
Field Value
Type | Description |
---|---|
WindSpeedParameter |
steps
Number of raymarching steps.
Declaration
[Tooltip("Number of raymarching steps.")]
public ClampedIntParameter steps
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedIntParameter |
thickness
Thickness of the clouds.
Declaration
[Tooltip("Controls the thickness of the clouds.")]
public ClampedFloatParameter thickness
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
tint
Color multiplier of the clouds.
Declaration
[Tooltip("Specifies the color HDRP uses to tint the clouds.")]
public ColorParameter tint
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ColorParameter |
Methods
GetHashCode()
Returns the hash code of the CloudMap parameters.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code of the CloudMap parameters. |