Click or drag to resize

Vector3CatmullRom Method

Creates a new Vector3 that contains CatmullRom interpolation of the specified vectors.

Namespace:  SampSharp.GameMode
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static Vector3 CatmullRom(
	Vector3 value1,
	Vector3 value2,
	Vector3 value3,
	Vector3 value4,
	float amount
)

Parameters

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

Return Value

Type: Vector3
The result of CatmullRom interpolation.
See Also