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()
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
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]
[VolumeComponentMenu("Lighting/Water Rendering")]
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
public sealed class WaterRendering : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider
Fields
Name | Description |
---|---|
ambientProbeDimmer | Controls the influence of the ambient light probe on the water surfaces. |
elevationTransition | Sets the elevation at which the max grid size is reached. |
enable | When enabled, the water surfaces are rendered. |
maxGridSize | Sets the size of the water grids in meters. |
maxTessellationFactor | Sets the maximum tessellation factor for the water surface. |
minGridSize | Sets the size of the water grids in meters. |
numLevelOfDetails | Controls the number of LOD patches that are rendered. |
tessellationFactorFadeRange | Sets the range at which the tessellation factor reaches zero. |
tessellationFactorFadeStart | Sets the distance at which the tessellation factor start to lower. |