Vector2Hermite Method (Vector2, Vector2, Vector2, Vector2, 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 Vector2 Hermite(
	Vector2 value1,
	Vector2 tangent1,
	Vector2 value2,
	Vector2 tangent2,
	float amount
)

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.

Return Value

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

Reference