Click or drag to resize
QuaternionSlerp Method
Performs a spherical linear blend between two quaternions.

Namespace: SampSharp.GameMode
Assembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntax
public static Quaternion Slerp(
	Quaternion quaternion1,
	Quaternion quaternion2,
	float amount
)

Parameters

quaternion1
Type: SampSharp.GameModeQuaternion
Source Quaternion.
quaternion2
Type: SampSharp.GameModeQuaternion
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