Quaternion.CreateFromYawPitchRoll Method (Microsoft.Xna.Framework)
Creates a new Quaternion from the specified yaw, pitch and roll angles.
- C#
- VB
- F#
public static Quaternion 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
Yaw around the y axis in radians.
- pitch
-
Type: System.Single
Pitch around the x axis in radians.
- roll
-
Type: System.Single
Roll around the z axis in radians.
Return Value
Type: Microsoft.Xna.Framework.QuaternionA new quaternion from the concatenated yaw, pitch, and roll angles.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web