Class CloudLayer.CloudMap
Cloud Map Volume Parameters. This groups parameters for one cloud map layer.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
public class CloudLayer.CloudMap
Fields
altitude
Altitude of the bottom of the cloud layer in meters.
Declaration
[Tooltip("Altitude of the bottom of the cloud layer in meters.")]
public MinFloatParameter altitude
Field Value
Type | Description |
---|---|
MinFloatParameter |
ambientProbeDimmer
Ambient probe multiplier.
Declaration
[Tooltip("Controls the influence of the ambient probe on the cloud layer volume. A lower value will suppress the ambient light and produce darker clouds overall.")]
public ClampedFloatParameter ambientProbeDimmer
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
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
[InspectorName("Wind")]
[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
[InspectorName("Exposure Compensation")]
[Tooltip("Sets the exposure compensation of the clouds in EV.")]
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
[InspectorName("Raymarching")]
[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 wind relative to the X world vector. This value can be relative to the Global Wind Orientation defined in the Visual Environment.
Declaration
[InspectorName("Orientation")]
[Tooltip("Controls the orientation of the wind relative to the X world vector.\nThis value can be relative to the Global Wind Orientation defined in the Visual Environment.")]
public WindOrientationParameter scrollOrientation
Field Value
Type | Description |
---|---|
WindOrientationParameter |
scrollSpeed
Sets the wind speed in kilometers per hour. This value can be relative to the Global Wind Speed defined in the Visual Environment.
Declaration
[InspectorName("Speed")]
[Tooltip("Sets the wind speed in kilometers per hour.\nThis value can be relative to the Global Wind Speed defined in the Visual Environment.")]
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
Density of the cloud layer.
Declaration
[InspectorName("Density")]
[Tooltip("Density of the cloud layer.")]
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 |
---|---|
int | The hash code of the CloudMap parameters. |