Copy() публичный статический Метод

Copies the source to the target array. Note that this is an unsafe operation, if you supply wrong offset/count values it can lead to memory corruption!
public static Copy ( Vertex source, int sourceOffset, Vertex target, int targetOffset, int count ) : void
source Vertex
sourceOffset int
target Vertex
targetOffset int
count int
Результат void
Пример #1
0
        /// <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);
            }
        }