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

AVS.LerpPoints Method

Linearly interpolates between two points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void LerpPoints
(
	AvlNet.Point2D inPoint0,
	AvlNet.Point2D inPoint1,
	float inLambda,
	out AvlNet.Point2D outPoint
)

Parameters

Name Type Range Default Description
inPoint0AvlNet.Point2D
inPoint1AvlNet.Point2D
inLambdafloat<-INF, INF>0.5fInterpolation between the input points where 0.0 value is equal to inPoint0 and 1.0 to inPoint1. Default value: 0.5f.
outPointAvlNet.Point2D

See also