/// <summary>
/// Copies a range of vertices of this instance to another vertex data object.
/// </summary>
public void CopyToVertexData(VertexData target, bool copyColor, int atIndex, int numVertices)
{
Vertex.Copy(_vertices, 0, target.Vertices, atIndex, numVertices);
if (copyColor)
{
Array.Copy(_vertexColors, 0, target.VertexColors, atIndex, numVertices);
}
}