Vector3CatmullRom Method (Vector3, Vector3, Vector3, Vector3, Single)

RAGE Plugin Hook Documentation

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

Performs a Catmull-Rom interpolation using the specified positions.

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

public static Vector3 CatmullRom(
	Vector3 value1,
	Vector3 value2,
	Vector3 value3,
	Vector3 value4,
	float amount
)

Parameters

value1
Type: RageVector3
The first position in the interpolation.
value2
Type: RageVector3
The second position in the interpolation.
value3
Type: RageVector3
The third position in the interpolation.
value4
Type: RageVector3
The fourth position in the interpolation.
amount
Type: SystemSingle
Weighting factor.

Return Value

Type: Vector3
A vector that is the result of the Catmull-Rom interpolation.
See Also

Reference