API Reference > geometry-core > CartesianGeometry > Matrix3d > createScale createScale MethodStatic Create a matrix with distinct x,y,z diagonal (scale) entries. [sx000sy000sz]\begin{bmatrix}s_x & 0 & 0 \\ 0 & s_y & 0\\ 0 & 0 & s_z\end{bmatrix}⎣⎢⎡sx000sy000sz⎦⎥⎤ createScale(scaleFactorX: number, scaleFactorY: number, scaleFactorZ: number, result?: Matrix3d): Matrix3d Parameter Type Description scaleFactorX number scaleFactorY number scaleFactorZ number result Matrix3d Returns - Matrix3d Defined in geometry3d/Matrix3d.ts Line 565 Last Updated: 12 June, 2024