| SubmeshMaterialIndex Property |
Gets or sets or sets the index of the material.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public int MaterialIndex { get; set; }
Public Property MaterialIndex As Integer
Get
Set
public:
property int MaterialIndex {
int get ();
void set (int value);
}
member MaterialIndex : int with get, set
Property Value
Type:
Int32
The index of the material in the
Materials collection.
The default value is 0.
Exceptions Remarks
A
Material defines the effect bindings per render pass.
See Also