Documentation

Unity Engine

Unity Engine

lightmapIndex

The index of the baked lightmap used in this draw command. If lightmap texture arrays are enabled, this value is always -1 (0xFFFF).
Read time 1 minuteLast updated 2 months ago

Definition

public ushort lightmapIndex

Remarks

Additional Resources: Renderer.lightmapIndex.