QuaternionSquad Method (Quaternion, Quaternion, Quaternion, Quaternion, Single)

RAGE Plugin Hook Documentation

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

Interpolates between quaternions, using spherical quadrangle interpolation.

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

public static Quaternion Squad(
	Quaternion source1,
	Quaternion source2,
	Quaternion source3,
	Quaternion source4,
	float amount
)

Parameters

source1
Type: RageQuaternion
First source quaternion.
source2
Type: RageQuaternion
Second source quaternion.
source3
Type: RageQuaternion
Thrid source quaternion.
source4
Type: RageQuaternion
Fourth source quaternion.
amount
Type: SystemSingle
Value between 0 and 1 indicating the weight of interpolation.

Return Value

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

Reference