You are here: Start » FIL.NET » Invoke.LerpAngles

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
inAngle0float
inAngle1float
inRotationDirectionFtl.Optional<Fil.RotationDirection>Clockwise, counter-clockwise or auto. Default value: ftl::NIL.
inAngleRangeFil.AngleRange_0_180Default value: _0_180.
inLambdafloatInterpolation between the input angles where 0.0 value is equal to inAngle0 and 1.0 to inAngle1.
inInversebool
outAnglefloat

See also