Export (0) Print
Expand All

Matrix.RotationYawPitchRoll Method

Builds a matrix with a specified yaw, pitch, and roll.

Namespace: Microsoft.WindowsMobile.DirectX
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

public static Matrix RotationYawPitchRoll (
	float yaw,
	float pitch,
	float roll
)
public static Matrix RotationYawPitchRoll (
	float yaw, 
	float pitch, 
	float roll
)
public static function RotationYawPitchRoll (
	yaw : float, 
	pitch : float, 
	roll : float
) : Matrix

Parameters

yaw

Yaw around the y-axis, in radians.

pitch

Pitch around the x-axis, in radians.

roll

Roll around the z-axis, in radians.

Return Value

Rotated Matrix structure.

The order of transformations is first roll, then pitch, then yaw. Relative to the object's local coordinate axis, this is equivalent to rotation around the z-axis, followed by rotation around the x-axis, followed by rotation around the y-axis.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2015 Microsoft