translate method
Returns a new matrix that is the result of the current matrix multiplied by a translation matrix that contains the input parameters.
![]() ![]() |
Syntax
var retMatrix = MSCSSMatrix.translate(offsetX, offsetY, offsetZ);Parameters
- offsetX [in]
-
Type: Floating-point
The translation offset along the x-axis.
- offsetY [in]
-
Type: Floating-point
The translation offset along the y-axis.
- offsetZ [in, optional]
-
Type: Floating-point
The translation offset 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:

