Matrix.CreateRotationX Method (Single, Matrix%)

Populates data into a user-specified matrix that can be used to rotate a set of vertices around the x-axis.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)


Public Shared Sub CreateRotationX ( _
    radians As Single, _
    <OutAttribute> ByRef result As Matrix _
public static void CreateRotationX(
    float radians,
    out Matrix result


  • radians
    Type: System.Single
    The amount, in radians, in which to rotate around the x-axis. Note that you can use ToRadians to convert degrees to radians.

Version Information


Supported in: 5


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.