Click or drag to resize
DigitalRuneMaterialInstanceCollectionContains Method
Determines whether the MaterialInstanceCollection contains a specific value.

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

Parameters

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

Return Value

Type: Boolean
if materialInstance is found in the MaterialInstanceCollection; otherwise, .

Implements

ICollectionTContains(T)
Remarks

This method performs a linear search; therefore, this method is an O(n) operation, where n is Count.

See Also