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

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 void Hermite(
	ref Vector4 value1,
	ref Vector4 tangent1,
	ref Vector4 value2,
	ref Vector4 tangent2,
	float amount,
	out Vector4 result
)

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.
result
Type: RageVector4
When the method completes, contains the result of the Hermite spline interpolation.
See Also

Reference