Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

CombineInstance.subMeshIndex

public int subMeshIndex;

Description

Sub-Mesh index of the Mesh.

This property holds the index to a submesh inside a Mesh object that is to be combined. The property is an integer value of 0 by default.

Additional resources: Mesh.CombineMeshes, mesh, transform.