Method Lerp
Lerp(LensSettings, LensSettings, float)
Linearly blends the fields of two LensSettings and returns the result
Declaration
public static LensSettings Lerp(LensSettings lensA, LensSettings lensB, float t)
Parameters
| Type | Name | Description |
|---|---|---|
| LensSettings | lensA | The LensSettings to blend from |
| LensSettings | lensB | The LensSettings to blend to |
| float | t | The interpolation value. Internally clamped to the range [0,1] |
Returns
| Type | Description |
|---|---|
| LensSettings | Interpolated settings |