[]
Prepends a scale vector to the Matrix3x2.
public static Matrix3x2 Scale(this Matrix3x2 matrix, float scaleX, float scaleY, MatrixOrderEx order = MatrixOrderEx.Prepend)
Type | Name | Description |
---|---|---|
Matrix3x2 | matrix | This Matrix3x2 object. |
float | scaleX | The scaled amount on the x-axis. |
float | scaleY | The scaled mount on the y-axis. |
MatrixOrderEx | order | A MatrixOrderEx indicating the order in which the rotation should be applied |
Type | Description |
---|---|
Matrix3x2 |