MatrixRotationYawPitchRoll(Vector3) Method |
Form a rotation
Matrix from Yaw (Y-Axis rotation), Pitch (X-Axis rotation) and Roll (Z-Axis rotation)
contained within the
Vector3 with Yaw being the
Y component,
Pitch being the
X component and Roll being the the
Z component.
Namespace: Microsoft.DirectXAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntaxpublic static Matrix RotationYawPitchRoll(
Vector3 ypr
)
Parameters
- ypr Vector3
- Vector3 containing the Yaw/Pitch/Roll in radians
Return Value
MatrixResulting rotation
Matrix
See Also