Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

CombineInstance

struct in UnityEngine

Switch to Manual

Description

Struct used to describe meshes to be combined using Mesh.CombineMeshes.

Variables

mesh Mesh to combine.
subMeshIndexSubmesh index of the mesh.
transformMatrix to transform the mesh with before combining.