Click or drag to resize

Vector3Lerp Method

Linearly interpolates between two vectors based on the given weighting.

Namespace:  SoftGear.Strix.Client.Ingame.Interpolation
Assembly:  strix-client-csharp-ingame (in strix-client-csharp-ingame.dll) Version: 2.3.0
Syntax
C#
public static Vector3 Lerp(
	Vector3 value1,
	Vector3 value2,
	float amount
)

Parameters

value1
Type: SoftGear.Strix.Client.Ingame.InterpolationVector3
The first source vector.
value2
Type: SoftGear.Strix.Client.Ingame.InterpolationVector3
The second source vector.
amount
Type: SystemSingle
Value between 0 and 1 indicating the weight of the second source vector.

Return Value

Type: Vector3
The interpolated vector.
See Also