Click or drag to resize

QuaternionRotationYawPitchRoll Method

Form a rotation Quaternion from Yaw (Y-Axis rotation), Pitch (X-Axis rotation) and Roll (Z-Axis rotation)

Namespace: Microsoft.DirectX
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntax
C#
public static Quaternion RotationYawPitchRoll(
	double yaw,
	double pitch,
	double roll
)

Parameters

yaw  Double
Yaw in radians
pitch  Double
Pitch in radians
roll  Double
Roll in radians

Return Value

Quaternion
Resulting rotation Quaternion
See Also