Click or drag to resize
Vector3Lerp Method (Vector3, Vector3, Single, Vector3)

[This is preliminary documentation and is subject to change.]

Performs a linear interpolation between two vectors.

Namespace: VRageMath
Assembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax
C#
public static void Lerp(
	ref Vector3 value1,
	ref Vector3 value2,
	float amount,
	out Vector3 result
)

Parameters

value1
Type: VRageMathVector3
Source vector.
value2
Type: VRageMathVector3
Source vector.
amount
Type: SystemSingle
Value between 0 and 1 indicating the weight of value2.
result
Type: VRageMathVector3
[OutAttribute] The result of the interpolation.
See Also