---
Product: Aspose.3D
Platform: typescript
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/typescript/FMatrix4
---

# FMatrix4

## Overview

`FMatrix4` is a class in Aspose.3D FOSS for Typescript.

FMatrix4.constructor creates a new FMatrix4 instance with default zero values.

This class provides 4 methods for working with FMatrix4 objects in Typescript programs.
Available methods include: `concatenate`, `constructor`, `inverse`, `transpose`.
All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package.
Properties: `identity`, `m00`, `m01`, `m02`, `m03`, `m10`, and 11 more.

## Description

`FMatrix4` is a class in the Aspose.3D FOSS library for TypeScript that exposes 5 methods and 17 properties for programmatic use.

Core capabilities include: `fmatrix4`; `number`; `number`. These operations enable developers to integrate fmatrix4 functionality directly into TypeScript applications.

The class also provides the `identity` property (gets the identity).

The class offers 5 constructor overloads, allowing flexible initialization depending on the calling context.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `identity` | `FMatrix4` | Read | Gets the identity. |
| `m00` | `number` | Read/Write | Gets the m00. |
| `m01` | `number` | Read/Write | Gets the m01. |
| `m02` | `number` | Read/Write | Gets the m02. |
| `m03` | `number` | Read/Write | Gets the m03. |
| `m10` | `number` | Read/Write | Gets the m10. |
| `m11` | `number` | Read/Write | Gets the m11. |
| `m12` | `number` | Read/Write | Gets the m12. |
| `m13` | `number` | Read/Write | Gets the m13. |
| `m20` | `number` | Read/Write | Gets the m20. |
| `m21` | `number` | Read/Write | Gets the m21. |
| `m22` | `number` | Read/Write | Gets the m22. |
| `m23` | `number` | Read/Write | Gets the m23. |
| `m30` | `number` | Read/Write | Gets the m30. |
| `m31` | `number` | Read/Write | Gets the m31. |
| `m32` | `number` | Read/Write | Gets the m32. |
| `m33` | `number` | Read/Write | Gets the m33. |

## Methods

| Signature | Description |
|-----------|-------------|
| `constructor()` | Creates a new FMatrix4 initialized with the 16 supplied numeric elements |
| `constructor(m00: number, m01: number, m02: number, m03: number, m10: number, m11: number, m12: number, m13: number, m20: number, m21: number, m22: number, m23: number, m30: number, m31: number, m32: number, m33: number)` | Creates an FMatrix4 initialized with the 16 supplied float elements in row-major order |
| `constructor(mat: Matrix4)` | Creates an FMatrix4 by copying the elements of the given Matrix4 |
| `constructor(r0: FVector4, r1: FVector4, r2: FVector4, r3: FVector4)` | Creates an FMatrix4 from four FVector4 row vectors |
| `constructor()` | Creates an FMatrix4 initialized with all zero values |
| `concatenate(m2: FMatrix4)` → `FMatrix4` | Returns a new FMatrix4 resulting from concatenating this matrix with any compatible matrix |
| `concatenate(m2: Matrix4)` → `FMatrix4` | Returns a new FMatrix4 resulting from concatenating this matrix with the given Matrix4 |
| `concatenate(m2: any)` → `FMatrix4` | Returns a new FMatrix4 resulting from concatenating this matrix with a compatible matrix argument |
| `transpose()` → `FMatrix4` | Returns a new FMatrix4 with rows and columns swapped |
| `inverse()` → `FMatrix4` | Returns a new FMatrix4 that is the mathematical inverse of this matrix |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)