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 |
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 |
---|---|
MinFloatParameter |
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 |
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 |
---|---|
MinFloatParameter |
maxTessellationFactor
Sets the maximum tessellation factor for the water surface.
Declaration
[Tooltip("Sets the maximum tessellation factor for the water surface.")]
[AdditionalProperty]
public ClampedFloatParameter maxTessellationFactor
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
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 |
---|---|
MinFloatParameter |
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 |
---|---|
ClampedIntParameter |
tessellationFactorFadeRange
Sets the range at which the tessellation factor reaches zero.
Declaration
[Tooltip("Sets the range at which the tessellation factor reaches zero.")]
[AdditionalProperty]
public MinFloatParameter tessellationFactorFadeRange
Field Value
Type | Description |
---|---|
MinFloatParameter |
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.")]
[AdditionalProperty]
public MinFloatParameter tessellationFactorFadeStart
Field Value
Type | Description |
---|---|
MinFloatParameter |