You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
inVector0 | AvlNet.Vector3D | ||||
inVector1 | AvlNet.Vector3D | ||||
inLambda | float | <-INF, INF> | 0.5f | Interpolation between the input 3D vectors where 0.0 value is equal to inVector0 and 1.0 to inVector1. Default value: 0.5f. | |
outVector3D | AvlNet.Vector3D |