# Sandbox.UI.ShadowList.SetFromLerp

```csharp
void SetFromLerp(ShadowList a, ShadowList b, float frac)
```

Given 2 lists of shadows, perform linear interpolation on both lists and store the result in this list.
Will work with mismatched shadow counts.

### Parameters

- `a` (`ShadowList`): The first list of shadows.
- `b` (`ShadowList`): The second list of shadows.
- `frac` (`float`): Fraction for the linear interpolation, in range of [0,1]

### Exceptions

- `System.ArgumentException`: Thrown when both inputs are equal.

Declared in [Sandbox.UI.ShadowList](/api/Sandbox.UI.ShadowList).
Assembly: `Sandbox.System`.
