# CombineInstance

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

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public struct CombineInstance
```

## Properties

| Property                                                                                                                  | Description                                                                                                                                                          |
| ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [lightmapScaleOffset](/engine/6000.0/script-reference/unityengine/combineinstance/lightmapscaleoffset.md)                 | The baked lightmap UV scale and offset applied to the Mesh.                                                                                                          |
| [mesh](/engine/6000.0/script-reference/unityengine/combineinstance/mesh.md)                                               | [Mesh](/engine/6000.0/script-reference/unityengine/mesh.md) to combine.                                                                                              |
| [realtimeLightmapScaleOffset](/engine/6000.0/script-reference/unityengine/combineinstance/realtimelightmapscaleoffset.md) | The real-time lightmap UV scale and offset applied to the Mesh.                                                                                                      |
| [subMeshIndex](/engine/6000.0/script-reference/unityengine/combineinstance/submeshindex.md)                               | Sub-Mesh index of the Mesh.                                                                                                                                          |
| [transform](/engine/6000.0/script-reference/unityengine/combineinstance/transform.md)                                     | Matrix to transform the Mesh with before combining. Refer to [Mesh.CombineMeshes](/engine/6000.0/script-reference/unityengine/mesh/combinemeshes.md) for an example. |
