Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


lightmapIndex

The index of the baked lightmap applied to this terrain.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public int lightmapIndex { get; set; }

Remarks

Additional Resources: Renderer.lightmapIndex.