# lightmapIndex

> The index of the baked lightmap used in this draw command. If lightmap texture arrays are enabled, this value is always -1 (0xFFFF).

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Rendering](/engine/6000.6/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public ushort lightmapIndex
```

### Remarks

Additional Resources: [Renderer.lightmapIndex](/engine/6000.6/script-reference/unityengine/renderer/lightmapindex.md).
