API Reference > geometry-core > CartesianGeometry > Matrix3d > createDirectionalScale createDirectionalScale MethodStatic Create a matrix that scales along a specified direction. The scale factor can be negative. for instance scale of -1.0 (negative one) is a mirror. createDirectionalScale(direction: Vector3d, scale: number, result?: Matrix3d): Matrix3d Parameter Type Description direction Vector3d scale number result Matrix3d Returns - Matrix3d Defined in core/geometry/src/geometry3d/Matrix3d.ts Line 1265 Last Updated: 13 June, 2024