Matrix.RotationAxis Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Rotates the matrix around an arbitrary axis.
Namespace: Microsoft.WindowsMobile.DirectX
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
Syntax
'Declaration
Public Shared Function RotationAxis ( _
axisRotation As Vector3, _
angle As Single _
) As Matrix
'Usage
Dim axisRotation As Vector3
Dim angle As Single
Dim returnValue As Matrix
returnValue = Matrix.RotationAxis(axisRotation, _
angle)
public static Matrix RotationAxis(
Vector3 axisRotation,
float angle
)
public:
static Matrix RotationAxis(
Vector3 axisRotation,
float angle
)
static member RotationAxis :
axisRotation:Vector3 *
angle:float32 -> Matrix
Parameters
- axisRotation
Type: Microsoft.WindowsMobile.DirectX.Vector3
A Vector3 structure that identifies the axis about which to rotate the matrix.
- 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
A Matrix representing the rotation about axisRotation by angle radians.
.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