# Lightmapping

> Experimental lightmapping features.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.Experimental](/engine/6000.0/script-reference/unityeditor/experimental.md)
* **Assembly:** UnityEditor

```csharp
public sealed class Lightmapping
```

## Remarks

Additional Resources: [Lightmapping](/engine/6000.0/script-reference/unityeditor/lightmapping.md).

## Static Properties

| Property                                                                                                                                    | Description                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| [probesIgnoreDirectEnvironment](/engine/6000.0/script-reference/unityeditor/experimental/lightmapping/probesignoredirectenvironment.md)     | If enabled ignores the direct contribution from the environment lighting in baked probes.   |
| [probesIgnoreIndirectEnvironment](/engine/6000.0/script-reference/unityeditor/experimental/lightmapping/probesignoreindirectenvironment.md) | If enabled ignores the indirect contribution from the environment lighting in baked probes. |

## Static Methods

| Method                                                                                                                            | Description                                                    |
| --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [Bake](/engine/6000.0/script-reference/unityeditor/experimental/lightmapping/bake.md)                                             | Starts a synchronous lighting bake job for the target Scene.   |
| [BakeAsync](/engine/6000.0/script-reference/unityeditor/experimental/lightmapping/bakeasync.md)                                   | Starts an asynchronous lighting bake job for the target Scene. |
| [GetCustomBakeResults](/engine/6000.0/script-reference/unityeditor/experimental/lightmapping/getcustombakeresults.md)             | Retrieve the custom bake results.                              |
| [GetCustomBakeResultsNoCopy](/engine/6000.0/script-reference/unityeditor/experimental/lightmapping/getcustombakeresultsnocopy.md) | Retrieve the custom bake results.                              |
| [SetCustomBakeInputs](/engine/6000.0/script-reference/unityeditor/experimental/lightmapping/setcustombakeinputs.md)               | Set the custom bake inputs.                                    |
| [SetLightDirty](/engine/6000.0/script-reference/unityeditor/experimental/lightmapping/setlightdirty.md)                           | Manually sets a light as dirty.                                |
