You are here: Start » AVL.NET » AVS.LerpAngles Method
AVS.LerpAngles Method
Linearly interpolates between two angles in the direction of minimum turn.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void LerpAngles ( float inAngle0, float inAngle1, AvlNet.AngleRange inAngleRange, float inLambda, bool inInverse, out float outAngle )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inAngle0 | float | |||
![]() | inAngle1 | float | |||
![]() | inAngleRange | AvlNet.AngleRange | _0_180 | Default value: _0_180. | |
![]() | inLambda | float | Interpolation between the input angles where 0.0 value is equal to inAngle0 and 1.0 to inAngle1. | ||
![]() | inInverse | bool | |||
![]() | outAngle | float |


