You are here: Start » AVL.NET » Invoke.LerpPaths

Invoke.LerpPaths

Linearly interpolates between two paths.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void LerpPaths
(
	Avl.Path inPath0,
	Avl.Path inPath1,
	float inLambda,
	Avl.Path outPath
)

Parameters

Name Type Range Default Description
inPath0Avl.Path
inPath1Avl.PathFirst input path.
inLambdafloat<-INF, INF>0.5fInterpolation between the input paths where 0.0 value is equal to inPath0 and 1.0 to inPath1. Default value: 0.5f.
outPathAvl.PathOutput path.

See also