Matrix.RotationYawPitchRoll Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Builds a matrix with a specified 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 Matrix
'Usage
Dim yaw As Single
Dim pitch As Single
Dim roll As Single
Dim returnValue As Matrix
returnValue = Matrix.RotationYawPitchRoll(yaw, _
pitch, roll)
public static Matrix RotationYawPitchRoll(
float yaw,
float pitch,
float roll
)
public:
static Matrix RotationYawPitchRoll(
float yaw,
float pitch,
float roll
)
static member RotationYawPitchRoll :
yaw:float32 *
pitch:float32 *
roll:float32 -> Matrix
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.Matrix
Rotated Matrix structure.
Remarks
The order of transformations is first roll, then pitch, then yaw. Relative to the object's local coordinate axis, this is equivalent to rotation around the z-axis, followed by rotation around the x-axis, followed by rotation around the y-axis.
.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