Quaternion.Slerp Method (Quaternion, Quaternion, Single, Quaternion)
Interpolates between two quaternions, using spherical linear interpolation.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static void Slerp (
ref Quaternion quaternion1,
ref Quaternion quaternion2,
float amount,
out Quaternion result
)
Parameters
- quaternion1
Source quaternion. - quaternion2
Source quaternion. - amount
Value that indicates how far to interpolate between the quaternions. - result
[OutAttribute] Result of the interpolation.
See Also
Reference
Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista