Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

BatchDrawCommandProceduralIndirect.lightmapIndex

public ushort lightmapIndex;

Description

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

Additional resources: Renderer.lightmapIndex.