Click or drag to resize

Vector3Lerp(Vector3, Vector3, Double, Vector3) Method

Creates a new Vector3 that contains linear interpolation of the specified vectors.

Namespace: CFX.Structures.Geometry
Assembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntax
public static void Lerp(
	ref Vector3 value1,
	ref Vector3 value2,
	double amount,
	out Vector3 result
)

Parameters

value1  Vector3
The first vector.
value2  Vector3
The second vector.
amount  Double
Weighting value(between 0.0 and 1.0).
result  Vector3
The result of linear interpolation of the specified vectors as an output parameter.
See Also