<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [Matrix3](./server.matrix3.md) &gt; [fromMatrix4](./server.matrix3.frommatrix4.md)

## Matrix3.fromMatrix4() method

Creates a new `Matrix3` instance from a `Matrix4` instance.

**Signature:**

```typescript
static fromMatrix4(matrix4: Matrix4): Matrix3;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

matrix4


</td><td>

[Matrix4](./server.matrix4.md)


</td><td>

The `Matrix4` instance to create the `Matrix3` instance from.


</td></tr>
</tbody></table>
**Returns:**

[Matrix3](./server.matrix3.md)

A new `Matrix3` instance.

