public void SetAllVertices (Vertex[] vertices);

Parámetros

verticesThe array of vertices to copy from. The length of the array must match the allocated vertex count.

Descripción

Fills the values of the allocated vertices with values copied directly from an array. When this method is called, it is not possible to use SetNextVertex to fill the allocated vertices array.

When this method is called, it is not possible to use SetNextVertex to fill the vertices.


public void SetAllVertices (NativeSlice<Vertex> vertices);

Parámetros

verticesThe slice of vertices to copy from. The length of the slice must match the allocated vertex count.

Descripción

Fills the values of the allocated vertices with values copied directly from a slice. When this method is called, it is not possible to use SetNextVertex to fill the vertices.