Version: 2023.1

CombineInstance

struct in UnityEngine

切换到手册

描述

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

变量

lightmapScaleOffset网格所应用的烘焙光照贴图 UV 缩放和偏移。
mesh要组合的 Mesh。
realtimeLightmapScaleOffsetThe real-time lightmap UV scale and offset applied to the Mesh.
subMeshIndex网格的子网格索引。
transformMatrix to transform the Mesh with before combining. Refer to Mesh.CombineMeshes for an example.