Quaternion.RotationYawPitchRoll Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Builds a quaternion with the given yaw, pitch, and roll.
Namespace: Microsoft.WindowsMobile.DirectX
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
Syntax
'Declaration
Public Shared Function RotationYawPitchRoll ( _
yaw As Single, _
pitch As Single, _
roll As Single _
) As Quaternion
'Usage
Dim yaw As Single
Dim pitch As Single
Dim roll As Single
Dim returnValue As Quaternion
returnValue = Quaternion.RotationYawPitchRoll(yaw, _
pitch, roll)
public static Quaternion RotationYawPitchRoll(
float yaw,
float pitch,
float roll
)
public:
static Quaternion RotationYawPitchRoll(
float yaw,
float pitch,
float roll
)
static member RotationYawPitchRoll :
yaw:float32 *
pitch:float32 *
roll:float32 -> Quaternion
Parameters
- yaw
Type: System.Single
Yaw around the y-axis, in radians.
- pitch
Type: System.Single
Pitch around the x-axis, in radians.
- roll
Type: System.Single
Roll around the z-axis, in radians.
Return Value
Type: Microsoft.WindowsMobile.DirectX.Quaternion
A Quaternion structure with the specified yaw, pitch, and roll.
.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