You are here: Start » AVL.NET » AVS.LerpPaths Method

AVS.LerpPaths Method

Linearly interpolates between two paths.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void LerpPaths
(
	AvlNet.Path inPath0,
	AvlNet.Path inPath1,
	float inLambda,
	AvlNet.Path outPath
)

Parameters

Name Type Range Default Description
inPath0AvlNet.Path
inPath1AvlNet.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.
outPathAvlNet.PathOutput path.

See also