Class WaterDeformer
Water deformer component.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[DisallowMultipleComponent]
[ExecuteInEditMode]
public class WaterDeformer : WaterDecal
Fields
bowWaveElevation
Specifies the elevation of outer part of the bow wave.
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public float bowWaveElevation
Field Value
Type | Description |
---|---|
float |
boxBlend
Specifies the range that is used to blend the box deformer.
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public Vector2 boxBlend
Field Value
Type | Description |
---|---|
Vector2 |
breakingRange
Specifies the range in which the waves break and generate surface foam.
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public Vector2 breakingRange
Field Value
Type | Description |
---|---|
Vector2 |
cubicBlend
When enabled, the box deformer will have a cubic blend on the edges (instead of procedural).
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public bool cubicBlend
Field Value
Type | Description |
---|---|
bool |
deepFoamRange
Specifies the range in which the waves generate deep foam.
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public Vector2 deepFoamRange
Field Value
Type | Description |
---|---|
Vector2 |
range
Specifies the range of the texture deformer
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public Vector2 range
Field Value
Type | Description |
---|---|
Vector2 |
texture
Specifies the texture used for the deformer.
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public Texture texture
Field Value
Type | Description |
---|---|
Texture |
type
Specifies the type of the deformer. This parameter defines which parameters will be used to render it.
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public WaterDeformerType type
Field Value
Type | Description |
---|---|
WaterDeformerType |
waveBlend
Specifies the blend size on the length of the deformer's region.
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public Vector2 waveBlend
Field Value
Type | Description |
---|---|
Vector2 |
waveLength
Specifies the wave length of the individual waves of the shore wave deformer.
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public float waveLength
Field Value
Type | Description |
---|---|
float |
waveOffset
Specifies the offset in the waves' position.
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public float waveOffset
Field Value
Type | Description |
---|---|
float |
waveRepetition
Specifies the wave repetition of the waves. A higher value implies that additional waves will be skipped.
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public int waveRepetition
Field Value
Type | Description |
---|---|
int |
waveSpeed
Specifies the speed of the waves in kilometers per hour.
Declaration
[Obsolete("WaterDeformer has been deprecated. Use WaterDecal instead.")]
public float waveSpeed
Field Value
Type | Description |
---|---|
float |