Method Interp
Interp(Color, Color, float)
Interpolates between two Color values.
Declaration
public override void Interp(Color from, Color to, float t)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | from | The start value. |
| Color | to | The end value. |
| float | t | The interpolation factor in range [0,1]. |
Overrides
Remarks
For performance reasons, this function interpolates the RGBA channels directly.