BatchDrawCommandIndirect.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.


Did you find this page useful? Please give it a rating: