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


