QuaternionSlerp Method (Quaternion, Quaternion, Single)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Interpolates between two quaternions, using spherical linear interpolation.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static Quaternion Slerp(
	Quaternion start,
	Quaternion end,
	float amount
)

Parameters

start
Type: RageQuaternion
Start quaternion.
end
Type: RageQuaternion
End quaternion.
amount
Type: SystemSingle
Value between 0 and 1 indicating the weight of end.

Return Value

Type: Quaternion
The spherical linear interpolation of the two quaternions.
See Also

Reference