Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

CombineInstance.mesh

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public Mesh mesh;

Description

The Mesh to be combined with the other meshes.

The Mesh.CombineMeshes method uses this property along with subMeshIndex to identify the mesh data to copy into the combined mesh.

The default value of this property is null.

To combine a mesh, this property must reference a valid, non-null mesh. Furthermore, the mesh must be CPU-readable.