Click or drag to resize
DigitalRuneTerrainMaterialLayerBlendHeightInfluence Property
Gets or sets the influence of the HeightTexture on the blend weight. (This is a material parameter - see remarks.)

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

Property Value

Type: Single

The influence of the HeightTexture on the blend weight in the range [-1, 1].

ValueDescription
= 0The height values do not influence blending.
> 0 This material layer overwrites previous material layers where the height values are large.
< 0 This material layer overwrites previous material layers where the height values are small.

The default value is 0.

For optimal results, the HeightTexture should be normalized.

Remarks

This is material parameter. Changing this property affects all terrain layers that share the same material.

See TerrainMaterialLayer for more details.

See Also