Class WaterRendering
A volume component that holds settings for the water surface.
Implements
Inherited Members
Namespace: UnityEngine .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
[VolumeComponentMenuForRenderPipeline("Lighting/WaterRendering", new Type[] { typeof(HDRenderPipeline) })]
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 |
---|---|
Clamped |
elevationTransition
Sets the elevation at which the max grid size is reached.
Declaration
[Tooltip("Sets the elevation at which the max grid size is reached.")]
public MinFloatParameter elevationTransition
Field Value
Type | Description |
---|---|
Min |
enable
When enabled, the water surfaces are rendered.
Declaration
[Tooltip("When enabled, the water surfaces are rendered.")]
public BoolParameter enable
Field Value
Type | Description |
---|---|
Bool |
maxGridSize
Sets the size of the water grids in meters.
Declaration
[Tooltip("Sets the size of the maximum water grids in meters.")]
public MinFloatParameter maxGridSize
Field Value
Type | Description |
---|---|
Min |
maxTessellationFactor
Sets the maximum tessellation factor for the water surface.
Declaration
[Tooltip("Sets the maximum tessellation factor for the water surface.")]
public ClampedFloatParameter maxTessellationFactor
Field Value
Type | Description |
---|---|
Clamped |
minGridSize
Sets the size of the water grids in meters.
Declaration
[Tooltip("Sets the size of the minimum water grids in meters.")]
public MinFloatParameter minGridSize
Field Value
Type | Description |
---|---|
Min |
numLevelOfDetails
Controls the number of LOD patches that are rendered.
Declaration
[Tooltip("Controls the number of LOD patches that are rendered.")]
public ClampedIntParameter numLevelOfDetails
Field Value
Type | Description |
---|---|
Clamped |
tessellationFactorFadeRange
Sets the range at which the tessellation factor reaches zero.
Declaration
[Tooltip("Sets the range at which the tessellation factor reaches zero.")]
public MinFloatParameter tessellationFactorFadeRange
Field Value
Type | Description |
---|---|
Min |
tessellationFactorFadeStart
Sets the distance at which the tessellation factor start to lower.
Declaration
[Tooltip(" Sets the distance at which the tessellation factor start to lower.")]
public MinFloatParameter tessellationFactorFadeStart
Field Value
Type | Description |
---|---|
Min |