You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Interpolations » AVL.LerpVectors3D

AVL.LerpVectors3D

Linearly interpolates between two 3D vectors.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void LerpVectors3D
(
	AvlNet.Vector3D inVector0,
	AvlNet.Vector3D inVector1,
	float inLambda,
	out AvlNet.Vector3D outVector3D
)

Parameters

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

See also