# InputExtraction

> Provides methods for extracting scene data and populating integration worlds for use in light transport calculations.

## Definition

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

```csharp
public static class InputExtraction
```

## Remarks

The InputExtraction class serves as the primary interface for converting Unity scene data into formats suitable for light transport calculations. It extracts geometry, materials, lights, settings, and light probe information from open scenes and prepares them for use with integrators.

This class is essential for:

* Converting Unity scenes to light transport input data structures.
* Preparing acceleration structures for ray tracing.
* Preparing input data for various light probe integrators.

The extracted data can be used with the GPU-accelerated ([RadeonRaysContext](/engine/6000.7/script-reference/unityengine/lighttransport/radeonrayscontext.md)) implementation.

## Static Methods

| Method                                                                                                                                                               | Description                                                                                       |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [ComputeOcclusionLightIndicesFromBakeInput](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/computeocclusionlightindicesfrombakeinput.md) | Determines the most influential lights for occlusion calculations at each probe position.         |
| [ExtractFromScene](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/extractfromscene.md)                                                   | Extracts all relevant scene data for light transport calculations from the currently open scenes. |
| [GetShadowmaskChannelsFromLightIndices](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/getshadowmaskchannelsfromlightindices.md)         | Retrieves the shadowmask channel assignments for specified mixed lights.                          |
| [PopulateWorld](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/populateworld.md)                                                         | Converts extracted scene data into optimized data structures for light transport calculations.    |

## Classes

| Class                                                                                                                | Description                                                           |
| -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| [InputExtraction.BakeInput](/engine/6000.7/script-reference/unityengine/lighttransport/inputextraction/bakeinput.md) | Container for scene data to be used for light transport calculations. |
