Click or drag to resize
DigitalRuneMaterialInstanceCollectionIndexOf Method
Determines the index of a specific material instance in the MaterialInstanceCollection.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public int IndexOf(
	MaterialInstance materialInstance
)

Parameters

materialInstance
Type: DigitalRune.Graphics.SceneGraphMaterialInstance
The material instance to locate in the MaterialInstanceCollection.

Return Value

Type: Int32
The index of materialInstance if found in the collection; otherwise, -1.

Implements

IListTIndexOf(T)
See Also