[]
Performs a linear interpolation between two vectors based on the given weighting.
public static Vector4 Lerp(Vector4 value1, Vector4 value2, float amount)
| Type | Name | Description |
|---|---|---|
| Vector4 | value1 | The first vector. |
| Vector4 | value2 | The second vector. |
| float | amount | A value between 0 and 1 that indicates the weight of value2. |
| Type | Description |
|---|---|
| Vector4 | The interpolated vector. |