You are here: Start » AVL.NET » Invoke.LerpAngles
Linearly interpolates between two angles in the direction of minimum turn.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void LerpAngles ( float inAngle0, float inAngle1, Optional<Avl.RotationDirection> inRotationDirection, Avl.AngleRange inAngleRange, float inLambda, bool inInverse, out float outAngle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inAngle0 | float | |||
![]() | inAngle1 | float | |||
![]() | inRotationDirection | Atl.Optional<Avl.RotationDirection> | Clockwise, counter-clockwise or auto. Default value: atl::NIL. | ||
![]() | inAngleRange | Avl.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 |