Click or drag to resize
DigitalRuneMaterialInstanceCollectionItem Property
Gets the material instance at the specified index.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public MaterialInstance this[
	int index
] { get; set; }

Parameters

index
Type: SystemInt32
The zero-based index of the material instance to get.

Property Value

Type: MaterialInstance
The material instance at the specified index.

Implements

IListTItemInt32
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than 0 or equal to or greater than Count.
Remarks
This indexer is an O(1) operation.
See Also