VertexChannelCollection.IndexOf Method (String)

Determines the index of a vertex channel with the specified name.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public int IndexOf (
         string name
)

Parameters

  • name
    Name of the vertex channel being searched for.

Return Value

Index of the vertex channel.

See Also

Reference

VertexChannelCollection Class
VertexChannelCollection Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista