MatrixRotationZDegrees(Double, Vector3) Method |
Form a rotation
Matrix rotating about the Z-Axis, offset from the origin
Namespace: Microsoft.DirectXAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntaxpublic static Matrix RotationZDegrees(
double degrees,
Vector3 o
)
Parameters
- degrees Double
- Angle in degrees
- o Vector3
- Origin of rotation
Return Value
MatrixResulting rotation
Matrix
RemarksEquivalent to Matrix.Translation(-o) * Matrix.RotationZDegrees(degrees) * Matrix.Translation(o)
See Also