ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / Matrix4x4 Structure / RotationXRef Method / RotationXRef(Matrix4x4,Single,Vector3) Method
When the method completes, contains the created rotation matrix.
The amount, in radians, by which to rotate around the X axis.
The center point.

In This Topic
    RotationXRef(Matrix4x4,Single,Vector3) Method
    In This Topic
    Creates a matrix for rotating points around the X axis from a center point.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub RotationXRef( _
       ByRef result As Matrix4x4, _
       ByVal radians As Single, _
       ByRef centerPoint As Vector3 _
    ) 
    public static void RotationXRef( 
       out Matrix4x4 result,
       float radians,
       ref Vector3 centerPoint
    )

    Parameters

    result
    When the method completes, contains the created rotation matrix.
    radians
    The amount, in radians, by which to rotate around the X axis.
    centerPoint
    The center point.
    See Also