# GetObjectsForLightingExplorer<T>()

> Returns T type Objects to be shown in the Light Explorer.

## Definition

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

```csharp
protected static IEnumerable<T> GetObjectsForLightingExplorer<T>() where T : Component
```

### Returns

| Type                                                                                               | Description                              |
| -------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| [IEnumerable\<T>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1) | Returns and array of **T** type Objects. |
