UnsafeNativeMethods.Matrix.RotationAxis Method |
Language: |
Builds a matrix that rotates around an arbitrary axis.
Visual Basic Public Shared Function RotationAxis( _
ByVal pOut As Matrix, _
ByVal axisRotation As Vector3, _
ByVal angle As Single _
) As MatrixC# public static Matrix RotationAxis(
Matrix pOut,
Vector3 axisRotation,
float angle
);C++ public:
static Matrix RotationAxis(
Matrix pOut,
Vector3 axisRotation,
float angle
);JScript public static function RotationAxis(
pOut : Matrix,
axisRotation : Vector3,
angle : float
) : Matrix;
pOut Microsoft.DirectX.Matrix
Rotated Matrix structure.axisRotation Microsoft.DirectX.Vector3
A Vector3 structure that identifies the axis about which to rotate the matrix.angle System.Single
Microsoft.DirectX.Matrix
Rotated Matrix structure.
The input rotation angle is in radians.
The return value for this method is the same value returned in the pOut parameter. This allows you to use the RotationAxis method as a parameter for another method.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center