Click or drag to resize

QuaternionSlerp Method

Performs a spherical linear blend between two quaternions.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static Quaternion Slerp(
	Quaternion quaternion1,
	Quaternion quaternion2,
	float amount
)

Parameters

quaternion1
Type: SampSharp.Entities.SAMPQuaternion
Source Quaternion.
quaternion2
Type: SampSharp.Entities.SAMPQuaternion
Source Quaternion.
amount
Type: SystemSingle
The blend amount where 0 returns quaternion1 and 1 quaternion2.

Return Value

Type: Quaternion
The result of spherical linear blending between two quaternions.
See Also