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
- q1
Type: Microsoft.WindowsMobile.DirectX.Quaternion
Source Quaternion structure.
- q2
Type: Microsoft.WindowsMobile.DirectX.Quaternion
Source Quaternion structure.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
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