Click or drag to resize

Vector4Lerp Method

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

Namespace:  SampSharp.GameMode
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static Vector4 Lerp(
	Vector4 value1,
	Vector4 value2,
	float amount
)

Parameters

value1
Type: SampSharp.GameModeVector4
The first vector.
value2
Type: SampSharp.GameModeVector4
The second vector.
amount
Type: SystemSingle
Weighting value(between 0.0 and 1.0).

Return Value

Type: Vector4
The result of linear interpolation of the specified vectors.
See Also