| TerrainMaterialLayerBlendTextureChannel 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.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public int BlendTextureChannel { get; set; }
Public Property BlendTextureChannel As Integer
Get
Set
public:
property int BlendTextureChannel {
int get ();
void set (int value);
}
member BlendTextureChannel : int with 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]:
Value | Description |
---|
0 | Red channel |
1 | Green channel |
2 | Blue channel |
3 | Alpha 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