Version: 2021.1
言語: 日本語
public void SetAllVertices (Vertex[] vertices);

パラメーター

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

説明

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);

パラメーター

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

説明

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.