rotate method
Returns a new matrix that is the result of the current matrix multiplied by the rotation matrix corresponding to the input parameters.
![]() ![]() |
Syntax
var retMatrix = MSCSSMatrix.rotate(angleX, angleY, angleZ);Parameters
- angleX [in]
-
Type: Floating-point
The angle (in degrees) of the rotation along the x-axis. If angleY and angleZ are undefined, this method becomes a rotation angleX degrees around the z-axis.
- angleY [in, optional]
-
Type: Floating-point
Angle (in degrees) of the rotation along the y-axis.
- angleZ [in, optional]
-
Type: Floating-point
Angle (in degrees) of the rotation along the z-axis.
- retMatrix [out, retval]
-
Type: MSCSSMatrix
The returned matrix.
Return value
Type: MSCSSMatrix
The returned matrix.
Standards information
- CSS Transitions Module Level 3, Section 10.1
See also
Show:

