# this[]

> Access individual SH coefficients.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Rendering](/engine/6000.7/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

## this\[int, int]

```csharp
public float this[int rgb, int coefficient] { readonly get; set; }
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): **** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Returns

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

### Remarks

This indexer accesses the spherical harmonics coefficients with two values. The first value is an RGB color channel index between 0 and 2. The second value is an index between 0 and 8 that combines the degree and order of the spherical harmonics in this order: the single 0th degree term, the three 1st degree terms, the five 2nd degree terms.
