hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
56 lines (27 loc) • 726 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Matrix4](./server.matrix4.md) > [copy](./server.matrix4.copy.md)
## Matrix4.copy() method
Copies a matrix to the current matrix.
**Signature:**
```typescript
copy(matrix4: Matrix4): Matrix4;
```
## 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 matrix to copy to the current matrix.
</td></tr>
</tbody></table>
**Returns:**
[Matrix4](./server.matrix4.md)
The current matrix.