MatrixRotationY Method (Double, Vector3) |
Form a rotation
Matrix rotating about the Y-Axis, offset from the origin
Namespace:
Microsoft.DirectX
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 18.04.00
Syntaxpublic static Matrix RotationY(
double radians,
Vector3 o
)
Parameters
- radians
- Type: SystemDouble
Angle in radians - o
- Type: Microsoft.DirectXVector3
Origin of rotation
Return Value
Type:
MatrixResulting rotation
Matrix
RemarksEquivalent to
Matrix.Translation(-o) * Matrix.RotationY(radians) * Matrix.Translation(o)
See Also