Class WaterRendering
A volume component that holds settings for the water surface.
Implements
Inherited Members
VolumeComponent.active
VolumeComponent.displayName
VolumeComponent.parameters
VolumeComponent.GetHashCode()
VolumeComponent.AnyPropertiesIsOverridden()
VolumeComponent.Release()
VolumeComponent.GetSourceTerm()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
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 |
---|---|
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.")]
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.")]
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.")]
public MinFloatParameter tessellationFactorFadeStart
Field Value
Type | Description |
---|---|
MinFloatParameter |