public void SetIndices (int[] indices, MeshTopology topology, int submesh, bool calculateBounds);
public void SetIndices (int[] indices, MeshTopology topology, int submesh);
public void SetIndices (int[] indices, MeshTopology topology, int submesh, bool calculateBounds= true, int baseVertex= 0);

パラメーター

indices The array of indices that define the Mesh.
topology The topology of the Mesh, e.g: Triangles, Lines, Quads, Points, etc. See MeshTopology.
submesh The sub-mesh to modify.
calculateBounds Calculate the bounding box of the Mesh after setting the indices. This is done by default. Use false when you want to use the existing bounding box and reduce the CPU cost of setting the indices.
baseVertex Optional vertex offset that is added to all triangle vertex indices.

説明

Sets the index buffer for the sub-mesh.