Click or drag to resize

Vector3Lerp Method

Creates a new Vector3 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 Vector3 Lerp(
	Vector3 value1,
	Vector3 value2,
	float amount
)

Parameters

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

Return Value

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