Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


lightmapsMode

NonDirectional or CombinedDirectional Specular lightmaps rendering mode.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static LightmapsMode lightmapsMode { get; set; }

Remarks

Note: this property is only serialized when building the player. In all the other cases it's the responsibility of the Unity lightmapping system (or a custom script that brings external lightmapping data) to set it when the Scene loads or playmode is entered.
You can continue reading here if you want to know what the different lightmap modes do.