MatrixStack.RotateAxisLocal Method
Language: Visual Basic .NET C# Managed C++ JScript .NET (Show All)
Note: This documentation is preliminary and is subject to change.
Determines the product of the current matrix and the computed rotation matrix.
Definition
Visual Basic .NET
Public Sub RotateAxisLocal ( _ ByVal axisRotation As Vector3 , _ ByVal angle As Single _ )
C#
public void RotateAxisLocal ( Vector3 axisRotation , float angle );
Managed C++
public: void RotateAxisLocal ( Vector3 axisRotation , float angle );
JScript .NET
public function RotateAxisLocal ( axisRotation : Vector3 , angle : float );
Parameters
axisRotation
Microsoft.DirectX.Vector3 . A Vector3 structure that represents the rotation axis to use for the calculation.
angle
System.Single . Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.
Remarks
This method left-multiplies the current matrix with the computed rotation matrix, counterclockwise around the given axis with the given angle (rotation is around the local origin of the object).
Exceptions
InvalidCallException
The method call is invalid. For example, a method's parameter might contain an invalid value.
See Also
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center