# UseLegacyLightmapsKeyword

> The draw command has USE_LEGACY_LIGHTMAPS keyword enabled. When this flag is set, BatchDrawCommand.lightmapIndex is used to determine batching.

## Definition

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

```csharp
UseLegacyLightmapsKeyword = 64
```

### Remarks

Additional Resources: [BatchDrawCommand.lightmapIndex](/engine/6000.7/script-reference/unityengine/rendering/batchdrawcommand/lightmapindex.md).
