Lightmapping
Interface to the light baking backends.
Read time 1 minuteLast updated a month ago
Definition
- Type: Class
- Namespace: UnityEngine.Experimental.GlobalIllumination
- Assembly: UnityEngine.CoreModule
public static class Lightmapping
Static Methods
Method | Description |
|---|---|
| GetDelegate | Get the currently set conversion delegate. |
| ResetDelegate | Resets the light conversion delegate to Unity's default conversion function. |
| SetDelegate | Set a delegate that converts a list of lights to a list of LightDataGI structures that are passed to the baking backends. Must be reset by calling ResetDelegate again. |
Delegates
Delegate | Description |
|---|---|
| Lightmapping.RequestLightsDelegate | Delegate called when converting lights into a form that the baking backends understand. |