Mesh.subMeshCount Manual     Reference     Scripting  
Scripting > Runtime Classes > Mesh
Mesh.subMeshCount

var subMeshCount : int

Description

The number of submeshes. Every material has a seperate triangle list.

See Also: GetTriangles, SetTriangles.