Mesh.GetTriangles 获取三角形

function GetTriangles (submesh : int) : int[]

Description描述

Returns the triangle list for the submesh.

返回子网格的三角形列表。

A submesh is simply a separate triangle list. When the mesh renderer uses multiple materials, you should ensure that there are as many submeshes as materials.

一个子网格仅仅是一个单独的三角形列表。当网格渲染器使用多个材质时,你应该保证有像子网格同样数量的材质。

参见: subMeshCount.

Page last updated: 2010-12-9