MatrixRotationYawPitchRollDegrees(Double, Double, Double, Vector3) Method |
Form a rotation
Matrix from Yaw (Y-Axis rotation), Pitch (X-Axis rotation) and Roll (Z-Axis rotation), offset from the origin
Namespace: Microsoft.DirectXAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntaxpublic static Matrix RotationYawPitchRollDegrees(
double yaw,
double pitch,
double roll,
Vector3 o
)
Parameters
- yaw Double
- Yaw in degrees
- pitch Double
- Pitch in degrees
- roll Double
- Roll in degrees
- o Vector3
- Origin of rotation
Return Value
MatrixResulting rotation
Matrix
RemarksEquivalent to Matrix.Translation(-o) * Matrix.RotationYawPitchRollDegrees(yaw, pitch, roll) * Matrix.Translation(o)
See Also