scale

Scales the transformation matrix by the specified factors.

Scaling is composed on the right of this transformation. The scale is therefore applied to an input before this matrix: the columns of the linear part are scaled and the existing translation remains unchanged. This is consistent with times and the one- and two- dimensional affine transformation matrices.

Return

A new AffineTransformationMatrix3 that represents the scaling.

Parameters

x

The scaling factor along the x-axis.

y

The scaling factor along the y-axis.

z

The scaling factor along the z-axis.


Scales the transformation matrix by the specified scale vector.

Return

A new AffineTransformationMatrix3 that represents the scaling.

Parameters

scale

The scale vector containing x, y, and z components.


Scales the transformation matrix by the specified factor.

Return

A new AffineTransformationMatrix3 that represents the scaling.

Parameters

factor

The scaling factor to apply uniformly along all axes.