UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

20 lines (11 loc) 409 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Matrix2](./server.matrix2.md) &gt; [clone](./server.matrix2.clone.md) ## Matrix2.clone() method Clones the current matrix. **Signature:** ```typescript clone(): Matrix2; ``` **Returns:** [Matrix2](./server.matrix2.md) A clone of the current matrix.