Class WaterExcluder
Water excluder component.
Inherited Members
Namespace: UnityEngine .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[DisallowMultipleComponent]
[AddComponentMenu("")]
[ExecuteAlways]
public class WaterExcluder : MonoBehaviour
Methods
SetExclusionMesh(Mesh)
Function that sets the mesh used to exclude water surfaces from the final frame.
Declaration
public void SetExclusionMesh(Mesh targetMesh)
Parameters
Type | Name | Description |
---|---|---|
Mesh | targetMesh | Defines the mesh that will be used to operate the water exclusion. |