Export (0) Print
Expand All

Matrix.CreateFromYawPitchRoll Method (Single, Single, Single)

Creates a new rotation matrix from a specified yaw, pitch, and roll.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

public static Matrix CreateFromYawPitchRoll(
	float yaw,
	float pitch,
	float roll
)

Parameters

yaw
Type: System.Single
Angle of rotation, in radians, around the y-axis.
pitch
Type: System.Single
Angle of rotation, in radians, around the x-axis.
roll
Type: System.Single
Angle of rotation, in radians, around the z-axis.

Return Value

Type: Microsoft.Xna.Framework.Matrix
A new rotation matrix with the specified yaw, pitch, and roll.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft