Quaternion.Slerp Method (Quaternion, Quaternion, Double, Boolean)
Interpolates between orientations, represented as Quaternion structures, using spherical linear interpolation.
Assembly: PresentationCore (in PresentationCore.dll)
public static Quaternion Slerp( Quaternion from, Quaternion to, double t, bool useShortestPath )
Quaternion that represents the starting orientation.
Boolean that indicates whether to compute quaternions that constitute the shortest possible arc on a four-dimensional unit sphere.
Spherical linear interpolation is useful for animating a three-dimensional models because it provides smooth transitions between different orientations of the model.
Available since 3.0