|   |   |   | 
| Quaternion.Slerp Method | Language: | 
Interpolates between two quaternions, using spherical linear interpolation.
Visual Basic Public Shared Function Slerp( _ 
ByVal q1 As Quaternion, _
ByVal q2 As Quaternion, _
ByVal t As Single _
) As QuaternionC# public static Quaternion Slerp( 
Quaternion q1,
Quaternion q2,
float t
);C++ public: 
static Quaternion Slerp(
Quaternion q1,
Quaternion q2,
float t
);JScript public static function Slerp( 
q1 : Quaternion,
q2 : Quaternion,
t : float
) : Quaternion;
q1 Microsoft.DirectX.Quaternion 
Source Quaternion structure.q2 Microsoft.DirectX.Quaternion 
Source Quaternion structure.t System.Single 
A Singlevalue that indicates how far to interpolate between the quaternions.
Microsoft.DirectX.Quaternion
A Quaternion structure that is the result of the interpolation.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center