Click or drag to resize
DigitalRuneMaterialCollectionSetItem Method
Replaces the material at the specified index.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
protected override void SetItem(
	int index,
	Material item
)

Parameters

index
Type: SystemInt32
The zero-based index of the material to replace.
item
Type: DigitalRune.GraphicsMaterial
The new value for the material at the specified index.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is .
See Also