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
inAngle0float
inAngle1float
inAngleRangeAvlNet.AngleRange
inLambdafloatInterpolation between the input angles where 0.0 value is equal to inAngle0 and 1.0 to inAngle1.
inInversebool
outAnglefloat

Function Overrides

See also