Click or drag to resize

Vector4CatmullRom Method

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

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static Vector4 CatmullRom(
	Vector4 value1,
	Vector4 value2,
	Vector4 value3,
	Vector4 value4,
	float amount
)

Parameters

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

Return Value

Type: Vector4
The result of CatmullRom interpolation.
See Also