# GetOcclusionLightIndices()

> Retrieves the occlusion light indices from the BakeInput.

## Definition

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

```csharp
public int[] GetOcclusionLightIndices()
```

### Returns

| Type                                                           | Description                       |
| -------------------------------------------------------------- | --------------------------------- |
| [int\[\]](https://learn.microsoft.com/dotnet/api/system.int32) | Array of occlusion light indices. |
