Version: 5.4

Mesh.GetTriangles

Cambiar al Manual
public int[] GetTriangles (int submesh);

Descripción

Returns the triangle list for the sub-Mesh.

A sub-Mesh is simply a separate triangle list. When the Mesh Renderer uses multiple Materials, you should ensure that there are as many sub-Meshes as Materials.

See Also: subMeshCount.