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 |
---|---|
BoolParameter |
cloudMap
Texture used to render the clouds.
Declaration
[Tooltip("Specify the texture HDRP uses to render the clouds (in LatLong layout).")]
public Texture2DParameter cloudMap
Field Value
Type | Description |
---|---|
Texture2DParameter |
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 |
---|---|
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 |
---|---|
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 Texture2DParameter flowmap
Field Value
Type | Description |
---|---|
Texture2DParameter |
lighting
Simulates cloud self-shadowing using raymarching.
Declaration
[Tooltip("Simulates cloud self-shadowing using raymarching.")]
public BoolParameter lighting
Field Value
Type | Description |
---|---|
BoolParameter |
opacityA
Opacity multiplier for the alpha channel.
Declaration
[Tooltip("Opacity multiplier for the alpha channel.")]
public ClampedFloatParameter opacityA
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
opacityB
Opacity multiplier for the blue channel.
Declaration
[Tooltip("Opacity multiplier for the blue channel.")]
public ClampedFloatParameter opacityB
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
opacityG
Opacity multiplier for the green channel.
Declaration
[Tooltip("Opacity multiplier for the green channel.")]
public ClampedFloatParameter opacityG
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
opacityR
Opacity multiplier for the red channel.
Declaration
[Tooltip("Opacity multiplier for the red channel.")]
public ClampedFloatParameter opacityR
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
rotation
Rotation of the clouds.
Declaration
[Tooltip("Sets the rotation of the clouds (in degrees).")]
public ClampedFloatParameter rotation
Field Value
Type | Description |
---|---|
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 |
---|---|
ClampedIntParameter |
thickness
Thickness of the clouds.
Declaration
[Tooltip("Controls the thickness of the clouds.")]
public ClampedFloatParameter thickness
Field Value
Type | Description |
---|---|
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 |
---|---|
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. |