# ExtractInnerCone(Light)

> Extracts the inner cone angle of spot lights.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Experimental.GlobalIllumination](/engine/6000.7/script-reference/unityengine/experimental/globalillumination.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static float ExtractInnerCone(Light l)
```

### Parameters

**** (\[Light]\(/engine/6000.7/script-reference/unityengine/light)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) |             |
