VertexContent.InsertRange Method

Note

This method is available only when developing for Windows.

Inserts multiple vertex indices to the PositionIndices collection.

Syntax

'Declaration
Public Sub InsertRange ( _
         index As Integer, _
         positionIndexCollection As IEnumerable(Of Integer) _
)
public void InsertRange (
         int index,
         IEnumerable<int> positionIndexCollection
)
public:
void InsertRange(
         int index,
         IEnumerable<int> positionIndexCollection
)

Parameters

  • index
    Type: Int32
    Vertex index to be inserted.
  • positionIndexCollection
    Type: IEnumerable<Int32>
    Position of the first element of the inserted range in the collection.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP