# inputExtraction

> Event which is called when the bake job calls ExtractFromScene. This happens when a bake is started from the Editor or a bake is started with the lightmapping API. Additional Resources: Lightmapping.Bake, Lightmapping.BakeAsync.

## Definition

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

```csharp
public static event Lightmapping.InputExtractionFunction inputExtraction
```

### Remarks

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