ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX Namespace / Matrix4x4 Structure / RotationAxisRef Method
When the method completes, contains the created rotation matrix.
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.

In This Topic
    RotationAxisRef Method
    In This Topic
    Creates a matrix that rotates around an arbitary axis.
    Syntax
    'Declaration
     
    Public Shared Sub RotationAxisRef( _
       ByRef result As Matrix4x4, _
       ByRef axis As Vector3, _
       ByVal radians As System.Single _
    ) 
    public static void RotationAxisRef( 
       out Matrix4x4 result,
       ref Vector3 axis,
       System.float radians
    )

    Parameters

    result
    When the method completes, contains the created rotation matrix.
    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.
    See Also