Click or drag to resize
Vector3Hermite Method
Creates a new Vector3 that contains hermite spline interpolation.

Namespace: SampSharp.GameMode
Assembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntax
public static Vector3 Hermite(
	Vector3 value1,
	Vector3 tangent1,
	Vector3 value2,
	Vector3 tangent2,
	float amount
)

Parameters

value1
Type: SampSharp.GameModeVector3
The first position vector.
tangent1
Type: SampSharp.GameModeVector3
The first tangent vector.
value2
Type: SampSharp.GameModeVector3
The second position vector.
tangent2
Type: SampSharp.GameModeVector3
The second tangent vector.
amount
Type: SystemSingle
Weighting factor.

Return Value

Type: Vector3
The hermite spline interpolation vector.
See Also