Export (0) Print
Expand All

Quaternion.Slerp Method (Quaternion, Quaternion, Single)

Interpolates between two quaternions, using spherical linear interpolation.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static Quaternion Slerp (
         Quaternion quaternion1,
         Quaternion quaternion2,
         float amount
)

Parameters

quaternion1
Type: Quaternion
Source quaternion.
quaternion2
Type: Quaternion
Source quaternion.
amount
Type: Single
Value that indicates how far to interpolate between the quaternions.

Return Value

Result of the interpolation.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show:
© 2014 Microsoft