Matrix.CreateRotationY Method (Single, Matrix)
Returns a y-axis rotation matrix.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static void CreateRotationY (
float radians,
out Matrix result
)
Parameters
- radians
The rotation in radians. - result
[OutAttribute] The rotation matrix.
See Also
Reference
Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace
Programming Guide
How to: Transform a Point with a Matrix
How to: Rotate and Move a Camera
How to: Make a First-Person Camera
How to: Make a Third-Person Camera
Platforms
Xbox 360, Windows XP SP2, Windows Vista