format
typescript
Mathf.LerpUnclamped(left, right, t)class: Mathf
description
Linearly interpolates between the left and right values using t, with no restriction on t.
parameter
| param_name | type | description |
|---|---|---|
| left | number | The left value. |
| right | number | The right value. |
| t | number | The interpolation value. |
return
| type | description |
|---|---|
number | The floating-point result of the linear interpolation. |
code example
typescript
// Linearly interpolates between q1 and q2 using t.
let lerpUnclamped = Mathf.LerpUnclamped(0,10,1.2) //lerpUnclamped=12