Matrix.CreateFromYawPitchRoll Method (Single, Single, Single, Matrix)
Fills in a rotation matrix from a specified yaw, pitch, and roll.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static void CreateFromYawPitchRoll (
float yaw,
float pitch,
float roll,
out Matrix result
)
Parameters
- yaw
Angle of rotation, in radians, around the y-axis. - pitch
Angle of rotation, in radians, around the x-axis. - roll
Angle of rotation, in radians, around the z-axis. - result
[OutAttribute] An existing matrix filled in to represent the specified yaw, pitch, and roll.
See Also
Reference
Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista