LightMode
The lightmode. A light can be real-time, mixed, baked or unknown. Unknown lights will be ignored by the baking backends.
Read time 1 minuteLast updated a month ago
Definition
- Type: Enum
- Namespace: UnityEngine.Experimental.GlobalIllumination
- Assembly: UnityEngine.CoreModule
public enum LightMode : byte
Fields
Value | Description |
|---|---|
| Baked | The light is fully baked and has no real-time component. |
| Mixed | The light is mixed. Mixed lights are interpreted based on the global light mode setting in the lighting window. |
| Realtime | The light is real-time. No contribution will be baked in lightmaps or light probes. |
| Unknown | The light should be ignored by the baking backends. |