VertexContent.Insert Method
Note
This method is available only when developing for Windows.
Inserts a new vertex index to the PositionIndices collection.
Other vertex channels will automatically be extended and the new indices populated with default values.
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
positionIndex As Integer _
)
public void Insert (
int index,
int positionIndex
)
public:
void Insert(
int index,
int positionIndex
)
Parameters
- index
Type: Int32
Vertex index to be inserted. - positionIndex
Type: Int32
Position of new vertex index 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