Quaternion.CreateFromYawPitchRoll Method (Microsoft.Xna.Framework)
Creates a new Quaternion from the specified yaw, pitch and roll angles.
- C#
- VB
- F#
public static void CreateFromYawPitchRoll( float yaw, float pitch, float roll, out Quaternion result )
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.
- result
-
Type: out Microsoft.Xna.Framework.Quaternion
A new quaternion from the concatenated yaw, pitch, and roll angles as an output parameter.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web