# InputExtraction.BakeInput

> Container for scene data to be used for light transport calculations.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.LightTransport](/engine/6000.7/script-reference/unityengine/lighttransport.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public class InputExtraction.BakeInput
```

## Remarks

An opaque data structure containing all scene information needed for light baking calculations, including geometry, materials, lights, and probe positions. This object is created by [InputExtraction.ExtractFromScene](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/extractfromscene.md) and consumed by [InputExtraction.PopulateWorld](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/populateworld.md).

The BakeInput contains:

* Mesh geometry and material data.
* Light source information.
* Terrain height maps and hole maps.
* Instance transformation data.
* Lighting related settings.
* Light probe group positions.

Additional Resources: [InputExtraction.ExtractFromScene](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/extractfromscene.md), [InputExtraction.PopulateWorld](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/populateworld.md).

## Methods

| Method                                                                                                                                       | Description                                                                                                                 |
| -------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| [AddProbeRequest](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/bakeinput/addproberequest.md)                   | Adds a [ProbeBakeRequest](/engine/6000.7/script-reference/unityengine/lighttransport/probebakerequest.md) to the BakeInput. |
| [GetOcclusionLightIndices](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/bakeinput/getocclusionlightindices.md) | Retrieves the occlusion light indices from the BakeInput.                                                                   |
| [GetProbePositions](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/bakeinput/getprobepositions.md)               | Retrieves the probe positions from the BakeInput.                                                                           |
| [SetOcclusionLightIndices](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/bakeinput/setocclusionlightindices.md) | Sets the occlusion light indices on the BakeInput.                                                                          |
| [SetProbePositions](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/bakeinput/setprobepositions.md)               | Sets the probe positions on the BakeInput.                                                                                  |
