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.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
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
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 |