Class WaterRendering
A volume component that holds settings for the water surface.
Inherited Members
UnityEngine.Rendering.VolumeComponent.TryGetRevertMethodForFieldName(UnityEditor.SerializedProperty, System.Action<UnityEditor.SerializedProperty>)
UnityEngine.Rendering.VolumeComponent.GetSourceTerm()
UnityEngine.Rendering.VolumeComponent.TryGetApplyMethodForFieldName(UnityEditor.SerializedProperty, System.Action<UnityEditor.SerializedProperty>)
UnityEngine.Rendering.VolumeComponent.GetSourceName(UnityEngine.Component)
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
[VolumeComponentMenu("Lighting/Water Rendering")]
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
public sealed class WaterRendering : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider
Fields
ambientProbeDimmer
Controls the influence of the ambient light probe on the water surfaces.
Declaration
[Tooltip("Controls the influence of the ambient light probe on the water surfaces.")]
public ClampedFloatParameter ambientProbeDimmer
Field Value
| Type | Description |
|---|---|
| ClampedFloatParameter |
enable
When enabled, the water surfaces are rendered.
Declaration
[Tooltip("When enabled, the water surfaces are rendered.")]
public BoolParameter enable
Field Value
| Type | Description |
|---|---|
| BoolParameter |
triangleSize
Sets the elevation at which the max grid size is reached.
Declaration
[Tooltip("Sets the size of a triangle edge in screen space. Smaller values result in smaller triangles.")]
public ClampedFloatParameter triangleSize
Field Value
| Type | Description |
|---|---|
| ClampedFloatParameter |