Quaternion.Slerp Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Interpolates between two quaternions, using spherical linear interpolation.

Namespace:  Microsoft.WindowsMobile.DirectX
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'Declaration
Public Shared Function Slerp ( _
    q1 As Quaternion, _
    q2 As Quaternion, _
    t As Single _
) As Quaternion
'Usage
Dim q1 As Quaternion
Dim q2 As Quaternion
Dim t As Single
Dim returnValue As Quaternion

returnValue = Quaternion.Slerp(q1, q2, t)
public static Quaternion Slerp(
    Quaternion q1,
    Quaternion q2,
    float t
)
public:
static Quaternion Slerp(
    Quaternion q1, 
    Quaternion q2, 
    float t
)
static member Slerp : 
        q1:Quaternion * 
        q2:Quaternion * 
        t:float32 -> Quaternion 

Parameters

  • t
    Type: System.Single
    A value that indicates how far to interpolate between the quaternions.

Return Value

Type: Microsoft.WindowsMobile.DirectX.Quaternion
A Quaternion structure that is the result of the interpolation.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Quaternion Structure

Quaternion Members

Microsoft.WindowsMobile.DirectX Namespace