共用方式為


VertexContent.Insert Method

Inserts a new vertex index to the PositionIndices collection.

Other vertex channels will automatically be extended and the new indices populated with default values.

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

Syntax

public void Insert (
         int index,
         int positionIndex
)

Parameters

  • index
    Vertex index to be inserted.
  • positionIndex
    Position of new vertex index in the collection.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista