Matrix.CreateFromYawPitchRoll Method (Microsoft.Xna.Framework)
Creates a new rotation Matrix from the specified yaw, pitch and roll values.
- C#
- VB
- F#
public static Matrix CreateFromYawPitchRoll( float yaw, float pitch, float roll )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- yaw
-
Type: System.Single
The yaw rotation value in radians.
- pitch
-
Type: System.Single
The pitch rotation value in radians.
- roll
-
Type: System.Single
The roll rotation value in radians.
Return Value
Type: Microsoft.Xna.Framework.MatrixThe rotation Matrix.
For more information about yaw, pitch and roll visit http://en.wikipedia.org/wiki/Euler_angles.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web