Click or drag to resize
Vector2CatmullRom Method
Creates a new Vector2 that contains CatmullRom interpolation of the specified vectors.

Namespace: SampSharp.GameMode
Assembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntax
public static Vector2 CatmullRom(
	Vector2 value1,
	Vector2 value2,
	Vector2 value3,
	Vector2 value4,
	float amount
)

Parameters

value1
Type: SampSharp.GameModeVector2
The first vector in interpolation.
value2
Type: SampSharp.GameModeVector2
The second vector in interpolation.
value3
Type: SampSharp.GameModeVector2
The third vector in interpolation.
value4
Type: SampSharp.GameModeVector2
The fourth vector in interpolation.
amount
Type: SystemSingle
Weighting factor.

Return Value

Type: Vector2
The result of CatmullRom interpolation.
See Also