Click or drag to resize
DigitalRuneWaterNodeWaves Property
Gets or sets the maps used to displace the water surface.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public WaterWaves Waves { get; set; }

Property Value

Type: WaterWaves
The maps used to displace the water surface. The default value is .
Remarks

The class WaterWaves is used to define a displacement map and a normal map which are applied to the water surface. The displacement map is used to move vertices, therefore the water Volume must have a tessellated surface. See also Volume.

Important: ExtraHeight
When a displacement mapping is used, the property ExtraHeight must be set to a value which is larger than the max wave displacement. See ExtraHeight for more details.

See Also