 | MaterialInstanceCollectionItem Property |
Gets the material instance at the specified index.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxpublic MaterialInstance this[
int index
] { get; set; }
Public Default Property Item (
index As Integer
) As MaterialInstance
Get
Set
public:
virtual property MaterialInstance^ default[int index] {
MaterialInstance^ get (int index) sealed;
void set (int index, MaterialInstance^ value) sealed;
}
abstract Item : MaterialInstance with get, set
override Item : MaterialInstance with get, set
Parameters
- index
- Type: SystemInt32
The zero-based index of the material instance to get.
Property Value
Type:
MaterialInstanceThe material instance at the specified index.
Implements
IListTItemInt32
Exceptions
Remarks
This indexer is an O(1) operation.
See Also