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

Invoke.LerpVectors

Linearly interpolates between two vectors.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void LerpVectors
(
	Avl.Vector2D inVector0,
	Avl.Vector2D inVector1,
	float inLambda,
	out Avl.Vector2D outVector
)

Parameters

Name Type Range Default Description
inVector0Avl.Vector2D
inVector1Avl.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.
outVectorAvl.Vector2D

See also