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