UnsafeNativeMethods.Quaternion.ToAxisAngle Method |
Language: |
Computes a quaternion's axis and angle of rotation.
Visual Basic Public Shared Sub ToAxisAngle( _
ByVal pQuat As Quaternion, _
ByVal pAxis As Vector3, _
ByVal pAngle As Single _
)C# public static void ToAxisAngle(
Quaternion pQuat,
Vector3 pAxis,
float pAngle
);C++ public:
static void ToAxisAngle(
Quaternion pQuat,
Vector3 pAxis,
float pAngle
);JScript public static function ToAxisAngle(
pQuat : Quaternion,
pAxis : Vector3,
pAngle : float
);
pQuat Microsoft.DirectX.Quaternion
Source Quaternion structure. See Remarks.pAxis Microsoft.DirectX.Vector3
A Vector3 structure that identifies the quaternion's axis of rotation.pAngle System.Single
A Single value that identifies the quaternion's angle of rotation, in radians.
This method requires unit quaternions.
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