![]() |
![]() |
![]() |
Matrix.RotationAxis Method |
Language: |
Builds a matrix that rotates around an arbitrary axis.
Visual Basic .NET Public Shared Function RotationAxis( _
ByVal axisRotation As Vector3, _
ByVal angle As Single _
) As MatrixC# public static Matrix RotationAxis(
Vector3 axisRotation,
float angle
);Managed C++ public: static Matrix RotationAxis(
Vector3 axisRotation,
float angle
);JScript .NET public static function RotationAxis(
axisRotation : Vector3,
angle : float
) : Matrix;
axisRotation Microsoft.DirectX.Vector3. A Vector3 structure that identifies the axis about which to rotate the matrix. angle System.Single. Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.
Microsoft.DirectX.Matrix . Rotated Matrix structure.
The input rotation angle is in radians.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center