---
title: "mat4x2: type in Runtime, TypeShade API reference"
description: "mat4x2, a type in Runtime. A mat4x2, 4 columns of 2 rows, as a host value: a readonly tuple of its 8 components, column-major."
url: https://typeshade.dev/api/mat4x2/
language: en
---

# `mat4x2`

Type in Runtime

A `mat4x2`, 4 columns of 2 rows, as a host value: a readonly tuple of its 8 components, column-major.

`import type { mat4x2 } from 'typeshade/runtime'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
type mat4x2 = readonly [f32, f32, f32, f32, f32, f32, f32, f32] & {
  readonly [tag]?: 'mat4x2';
};
```

## Source

[`src/runtime/host-types.ts`, line 132](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/host-types.ts#L132), at commit af54ddad5
