# Sandbox.MatrixExtensions

In-place composition of local transforms for 2D affine matrices.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.System`
- Modifiers: static, abstract, sealed, extension

## Methods

- [`RotateLocal2D`](/api/Sandbox.MatrixExtensions/RotateLocal2D): Prepends a rotation in degrees to a 2D affine matrix, leaving its origin unchanged. Positive angles rotate clockwise in screen coordinates. Mutates the matrix without validation.
- [`ScaleLocal2D`](/api/Sandbox.MatrixExtensions/ScaleLocal2D): Prepends a scale to a 2D affine matrix, leaving its origin unchanged. Mutates the matrix without validating its affine form or checking for overflow.
- [`TranslateLocal2D`](/api/Sandbox.MatrixExtensions/TranslateLocal2D): Prepends a translation along the current axes of a 2D affine matrix. Mutates the matrix without validating its affine form or checking for overflow.
