Click or drag to resize
DigitalRuneTerrainMaterialLayerBlendTextureChannel Property
Gets or sets the texture channel of the BlendTexture which contains the blend weight for this material. (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 int BlendTextureChannel { get; set; }

Property Value

Type: Int32

The texture channel of the BlendTexture which contains the blend weight for this material. This values is in the range [0, 3]:

ValueDescription
0Red channel
1Green channel
2Blue channel
3Alpha channel

The default value is 0.

Remarks

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

See TerrainMaterialLayer for more details.

See Also