[]
Prepends the specified translation vector to the Matrix3x2.
public static Matrix3x2 Translate(this Matrix3x2 matrix, float offsetX, float offsetY, MatrixOrderEx order = MatrixOrderEx.Prepend)
| Type | Name | Description |
|---|---|---|
| Matrix3x2 | matrix | The matrix to prepend the translation to |
| float | offsetX | the translation X value to use |
| float | offsetY | the translation Y value to use |
| MatrixOrderEx | order | A MatrixOrderEx indicating the order in which the rotation should be applied |
| Type | Description |
|---|---|
| Matrix3x2 |