Share via


Matrix.RotationX Method

Builds a matrix that rotates around the x-axis.

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

Syntax

'Declaration
Public Shared Function RotationX ( _
    angle As Single _
) As Matrix
'Usage
Dim angle As Single 
Dim returnValue As Matrix 

returnValue = Matrix.RotationX(angle)
public static Matrix RotationX(
    float angle
)
public:
static Matrix RotationX(
    float angle
)
public static function RotationX(
    angle : float
) : Matrix

Parameters

  • angle
    Type: System.Single

    Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.

Return Value

Type: Microsoft.WindowsMobile.DirectX.Matrix
Rotated Matrix structure.

Remarks

The input rotation angle is in radians.

.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

Matrix Structure

Matrix Members

Microsoft.WindowsMobile.DirectX Namespace