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

AVS.LerpVectors Method

Linearly interpolates between two vectors.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void LerpVectors
(
	AvlNet.Vector2D inVector0,
	AvlNet.Vector2D inVector1,
	float inLambda,
	out AvlNet.Vector2D outVector
)

Parameters

Name Type Range Default Description
inVector0AvlNet.Vector2D
inVector1AvlNet.Vector2D
inLambdafloat<-INF, INF>0.5fInterpolation between the input vectors where 0.0 value is equal to inVector0 and 1.0 to inVector1. Default value: 0.5f.
outVectorAvlNet.Vector2D

See also