Click or drag to resize
DigitalRuneWaterNodeExtraHeight Property
Gets or sets the extra height added to the bounding shape.

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

Property Value

Type: Single
The extra height added to the bounding shape. The default value is 0.
Remarks

This value is only relevant if displacement mapping (see Waves) is applied to the water. This property must specify the max wave height above the water surface (defined by Volume). The best way to set this property is to visualize the bounding shape (Shape) of the scene node and increase the ExtraHeight until all waves are within the bounding shape.

If the this value is not set properly, then bounding shape of the water used for view frustum culling might be too small, and the water might be culled even if some waves should be visible.

See Also