You are here: Start » AVL.NET » AVL.LerpPoints(AvlNet.Point2D, AvlNet.Point2D, float, AvlNet.Point2D)
AVL.LerpPoints(AvlNet.Point2D, AvlNet.Point2D, float, AvlNet.Point2D)
Linearly interpolates between two points.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void LerpPoints( AvlNet.Point2D inPoint1, AvlNet.Point2D inPoint2, float inLambda, out AvlNet.Point2D outPoint )
Parameters
- inPoint1
- Type: AvlNet.Point2D
- inPoint2
- Type: AvlNet.Point2D
- inLambda
- Type: System.Single
0.0 makes a copy of the first point, 1.0 - of the second, other values make interpolations - outPoint
- Type: AvlNet.Point2D
Examples
![]() |
![]() |
LerpPoints performed on two points, inLambda = 0,25.


