Mat4:setScale
EditSets the scale of the matrix, without changing its position or rotation.
Arguments
| Name | Type | Default | Description |
| sx | number | 1 | The new x scale. |
| sy | number | sx | The new y scale. |
| sz | number | sx | The new z scale. |
Returns
| Name | Type | Description |
| self | Mat4 | The modified input matrix. |
Arguments
| Name | Type | Description |
| scale | vector | The new scale. |
Returns
| Name | Type | Description |
| self | Mat4 | The modified input matrix. |