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