[]
Performs a linear interpolation between two vectors based on the given weighting.
public static void LerpRef(out Vector3 result, ref Vector3 value1, ref Vector3 value2, float amount)
Public Shared Sub LerpRef(ByRef result As Vector3, ByRef value1 As Vector3, ByRef value2 As Vector3, amount As Single)
| Type | Name | Description |
|---|---|---|
| Vector3 | result | When the method completes, contains an the interpolated vector. |
| Vector3 | value1 | The first vector. |
| Vector3 | value2 | The second vector. |
| float | amount | A value between 0 and 1 that indicates the weight of value2. |