Export (0) Print
Expand All

Matrix.CreateRotationZ Method (Single)

Returns a matrix that can be used to rotate a set of vertices around the z-axis.

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

public static Matrix CreateRotationZ (
         float radians
)

Parameters

radians
The amount, in radians, in which to rotate around the z-axis. Note that you can use ToRadians to convert degrees to radians.

Return Value

The rotation matrix.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions

ADD
Show:
© 2014 Microsoft