Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

CombineInstance.subMeshIndex

public int subMeshIndex;

Description

Sub-Mesh index of the Mesh.

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

See Also: Mesh.CombineMeshes, mesh, transform.