![]() |
![]() |
![]() |
Matrix.RotateYawPitchRoll Method |
Language: |
Rotates a matrix with a specified yaw, pitch, and roll.
Visual Basic .NET Public Sub RotateYawPitchRoll( _
ByVal yaw As Single, _
ByVal pitch As Single, _
ByVal roll As Single _
)C# public void RotateYawPitchRoll(
float yaw,
float pitch,
float roll
);Managed C++ public: void RotateYawPitchRoll(
float yaw,
float pitch,
float roll
);JScript .NET public function RotateYawPitchRoll(
yaw : float,
pitch : float,
roll : float
);
yaw System.Single. Yaw around the y-axis, in radians. pitch System.Single. Pitch around the x-axis, in radians. roll System.Single. Roll around the z-axis, in radians.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center