# Lightmapping

> Interface to the light baking backends.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.Experimental.GlobalIllumination](/engine/6000.0/script-reference/unityengine/experimental/globalillumination.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static class Lightmapping
```

## Static Methods

| Method                                                                                                                     | Description                                                                                                                                                             |
| -------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetDelegate](/engine/6000.0/script-reference/unityengine/experimental/globalillumination/lightmapping/getdelegate.md)     | Get the currently set conversion delegate.                                                                                                                              |
| [ResetDelegate](/engine/6000.0/script-reference/unityengine/experimental/globalillumination/lightmapping/resetdelegate.md) | Resets the light conversion delegate to Unity's default conversion function.                                                                                            |
| [SetDelegate](/engine/6000.0/script-reference/unityengine/experimental/globalillumination/lightmapping/setdelegate.md)     | 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](/engine/6000.0/script-reference/unityengine/experimental/globalillumination/lightmapping/requestlightsdelegate.md) | Delegate called when converting lights into a form that the baking backends understand. |
