ComponentOne Bitmap for UWP
RotationAxis Method

C1.UWP.DX Assembly > C1.Util.DX Namespace > Matrix4x4 Structure : RotationAxis Method
The axis around which to rotate. This parameter is assumed to be normalized.
Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.
Creates a matrix that rotates around an arbitary axis.
Syntax
'Declaration
 
Public Shared Function RotationAxis( _
   ByVal axis As Vector3, _
   ByVal radians As System.Single _
) As Matrix4x4
public static Matrix4x4 RotationAxis( 
   Vector3 axis,
   System.float radians
)

Parameters

axis
The axis around which to rotate. This parameter is assumed to be normalized.
radians
Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.

Return Value

The created rotation matrix.
See Also

Reference

Matrix4x4 Structure
Matrix4x4 Members