Click or drag to resize

Vector3Lerp Method (Vector3, Double)

Linear interpolation between this Vector3 and another Vector3

This is most commonly used to find a point some fraction of the way along a line between two endpoints When t = 0 returns this. When t = 1 returns b. When t = 0.5 returns the point midway between this and b.

Namespace:  Microsoft.DirectX
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public Vector3 Lerp(
	Vector3 b,
	double t
)

Parameters

b
Type: Microsoft.DirectXVector3
End Vector3
t
Type: SystemDouble
Interpolant

Return Value

Type: Vector3
Interpolated Vector3
See Also