 | MaterialInstanceCollectionIndexOf Method |
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxpublic int IndexOf(
MaterialInstance materialInstance
)
Public Function IndexOf (
materialInstance As MaterialInstance
) As Integer
public:
virtual int IndexOf(
MaterialInstance^ materialInstance
) sealed
abstract IndexOf :
materialInstance : MaterialInstance -> int
override IndexOf :
materialInstance : MaterialInstance -> int
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