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