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

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 void Squad(
	ref Quaternion source1,
	ref Quaternion source2,
	ref Quaternion source3,
	ref Quaternion source4,
	float amount,
	out Quaternion result
)

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.
result
Type: RageQuaternion
When the method completes, contains the spherical quadrangle interpolation of the quaternions.
See Also

Reference