Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


mesh

The Mesh to be combined with the other meshes.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Mesh mesh { get; set; }

Remarks

The Mesh.CombineMeshes method uses this property along with CombineInstance.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.