Partager via


VertexChannelCollection.Insert Generic Method (Int32, String, Generic IEnumerable)

Inserts a new vertex channel at the specified position.

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

Syntax

public VertexChannel<ElementType> Insert<ElementType> (
         int index,
         string name,
         IEnumerable<ElementType> channelData
)

Type Parameters

  • ElementType

Parameters

  • index
    Index for channel insertion.
  • name
    Name of the new channel.
  • channelData
    Type of the new channel.

Return Value

The inserted vertex channel.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista