mesh
The Mesh to be combined with the other meshes.
阅读时间1 分钟最后更新于 1 个月前
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 .
nullTo combine a mesh, this property must reference a valid, non-null mesh. Furthermore, the mesh must be CPU-readable.