Click or drag to resize
DigitalRuneSubmeshMaterialIndex Property
Gets or sets or sets the index of the material.

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

Property Value

Type: Int32
The index of the material in the Materials collection. The default value is 0.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is out of range.
Remarks
A Material defines the effect bindings per render pass.
See Also