CreateRotationY Method (Single, Matrix)
Collapse the table of content
Expand the table of content

Matrix.CreateRotationY Method (Single, Matrix)

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

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static void CreateRotationY (
         float radians,
         out Matrix result


Type: Single
The amount, in radians, in which to rotate around the y-axis. Note that you can use ToRadians to convert degrees to radians.
Type: Matrix
[OutAttribute] The matrix in which to place the calculated data.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

© 2016 Microsoft