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