# Lightmapping

> Experimental lightmapping features.

## Definition

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

```csharp
public sealed class Lightmapping
```

## Remarks

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

## Static Properties

| Property                                                                                                                                    | Description                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| [probesIgnoreDirectEnvironment](/engine/6000.5/script-reference/unityeditor/experimental/lightmapping/probesignoredirectenvironment.md)     | If enabled ignores the direct contribution from the environment lighting in baked probes.   |
| [probesIgnoreIndirectEnvironment](/engine/6000.5/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.5/script-reference/unityeditor/experimental/lightmapping/bake.md)                   | Starts a synchronous lighting bake job for the target Scene.   |
| [BakeAsync](/engine/6000.5/script-reference/unityeditor/experimental/lightmapping/bakeasync.md)         | Starts an asynchronous lighting bake job for the target Scene. |
| [SetLightDirty](/engine/6000.5/script-reference/unityeditor/experimental/lightmapping/setlightdirty.md) | Manually sets a light as dirty.                                |
