<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [Matrix4](./server.matrix4.md) &gt; [fromRotationTranslationScale](./server.matrix4.fromrotationtranslationscale.md)

## Matrix4.fromRotationTranslationScale() method

Creates a new `Matrix4` instance from a rotation, translation, and scale.

**Signature:**

```typescript
static fromRotationTranslationScale(rotation: Quaternion, translation: Vector3, scale: Vector3): Matrix4;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

rotation


</td><td>

[Quaternion](./server.quaternion.md)


</td><td>

The rotation of the matrix.


</td></tr>
<tr><td>

translation


</td><td>

[Vector3](./server.vector3.md)


</td><td>

The translation of the matrix.


</td></tr>
<tr><td>

scale


</td><td>

[Vector3](./server.vector3.md)


</td><td>

The scale of the matrix.


</td></tr>
</tbody></table>
**Returns:**

[Matrix4](./server.matrix4.md)

A new `Matrix4` instance.

