Vector2Hermite Method (Vector2, Vector2, Vector2, Vector2, Single, Vector2)

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 Vector2 value1,
	ref Vector2 tangent1,
	ref Vector2 value2,
	ref Vector2 tangent2,
	float amount,
	out Vector2 result
)

Parameters

value1
Type: RageVector2
First source position vector.
tangent1
Type: RageVector2
First source tangent vector.
value2
Type: RageVector2
Second source position vector.
tangent2
Type: RageVector2
Second source tangent vector.
amount
Type: SystemSingle
Weighting factor.
result
Type: RageVector2
When the method completes, contains the result of the Hermite spline interpolation.
See Also

Reference