Click or drag to resize

MathHelperHermite Method

Performs a Hermite spline interpolation.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static float Hermite(
	float value1,
	float tangent1,
	float value2,
	float tangent2,
	float amount
)

Parameters

value1
Type: SystemSingle
Source position.
tangent1
Type: SystemSingle
Source tangent.
value2
Type: SystemSingle
Source position.
tangent2
Type: SystemSingle
Source tangent.
amount
Type: SystemSingle
Weighting factor.

Return Value

Type: Single
The result of the Hermite spline interpolation.
See Also