UNPKG

hytopia

Version:

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

20 lines (11 loc) 431 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Vector3](./server.vector3.md) &gt; [round](./server.vector3.round.md) ## Vector3.round() method Rounds each component of the vector to the nearest integer. **Signature:** ```typescript round(): Vector3; ``` **Returns:** [Vector3](./server.vector3.md) The current vector.