Vector4Hermite Method (Vector4, Vector4, Vector4, Vector4, Single)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Performs a Hermite spline interpolation.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static Vector4 Hermite(
	Vector4 value1,
	Vector4 tangent1,
	Vector4 value2,
	Vector4 tangent2,
	float amount
)

Parameters

value1
Type: RageVector4
First source position vector.
tangent1
Type: RageVector4
First source tangent vector.
value2
Type: RageVector4
Second source position vector.
tangent2
Type: RageVector4
Second source tangent vector.
amount
Type: SystemSingle
Weighting factor.

Return Value

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

Reference