You are here: Start » AVL.NET » Invoke.LerpVectors
Linearly interpolates between two vectors.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void LerpVectors ( Avl.Vector2D inVector0, Avl.Vector2D inVector1, float inLambda, out Avl.Vector2D outVector )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inVector0 | Avl.Vector2D | |||
![]()  | inVector1 | Avl.Vector2D | |||
![]()  | inLambda | float | <-INF, INF> | 0.5f | Interpolation between the input vectors where 0.0 value is equal to inVector0 and 1.0 to inVector1. Default value: 0.5f. | 
![]()  | outVector | Avl.Vector2D | 


