# Matrix

Represents a 4x4 matrix.

- Kind: struct
- Assembly: `Sandbox.System`
- Modifiers: sealed

## Constructors

- [`Matrix`](/api/Matrix/.ctor)

## Properties

- [`Identity`](/api/Matrix/Identity): Returns the multiplicative identity matrix.
- [`Inverted`](/api/Matrix/Inverted): Returns inverse of this matrix.
- [`M11`](/api/Matrix/M11)
- [`M12`](/api/Matrix/M12)
- [`M13`](/api/Matrix/M13)
- [`M14`](/api/Matrix/M14)
- [`M21`](/api/Matrix/M21)
- [`M22`](/api/Matrix/M22)
- [`M23`](/api/Matrix/M23)
- [`M24`](/api/Matrix/M24)
- [`M31`](/api/Matrix/M31)
- [`M32`](/api/Matrix/M32)
- [`M33`](/api/Matrix/M33)
- [`M34`](/api/Matrix/M34)
- [`M41`](/api/Matrix/M41)
- [`M42`](/api/Matrix/M42)
- [`M43`](/api/Matrix/M43)
- [`M44`](/api/Matrix/M44)

## Methods

- [`CreateMatrix3D`](/api/Matrix/CreateMatrix3D)
- [`CreateObliqueProjection`](/api/Matrix/CreateObliqueProjection): Create a projection matrix. The matrix will be in the correct format for the engine, and will also be reverse z.
- [`CreateProjection`](/api/Matrix/CreateProjection)
- [`CreateRotation`](/api/Matrix/CreateRotation)
- [`CreateRotationX`](/api/Matrix/CreateRotationX)
- [`CreateRotationY`](/api/Matrix/CreateRotationY)
- [`CreateRotationZ`](/api/Matrix/CreateRotationZ)
- [`CreateScale`](/api/Matrix/CreateScale)
- [`CreateSkew`](/api/Matrix/CreateSkew)
- [`CreateSkewX`](/api/Matrix/CreateSkewX)
- [`CreateSkewY`](/api/Matrix/CreateSkewY)
- [`CreateTranslation`](/api/Matrix/CreateTranslation)
- [`CreateWorld`](/api/Matrix/CreateWorld)
- [`Lerp`](/api/Matrix/Lerp): Performs linear interpolation from one matrix to another.
- [`Slerp`](/api/Matrix/Slerp): Performs spherical interpolation from one matrix to another.
- [`Transform`](/api/Matrix/Transform): Transforms a vector by a 4x4 matrix
- [`TransformNormal`](/api/Matrix/TransformNormal): Transforms a normal vector by a specified 4x4 matrix
- [`Transpose`](/api/Matrix/Transpose): Returns transposed version of this matrix, meaning columns in this matrix become rows in the returned matrix and rows in this matrix become columns in the returned one.
