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

BatchDrawCommand.lightmapIndex

public ushort lightmapIndex;

Description

The index of the baked lightmap used in this draw command. If BatchDrawCommandFlags.UseLegacyLightmapsKeyword is not set, this value is ignored.