UNPKG

hytopia

Version:

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

20 lines (11 loc) 464 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Quaternion](./server.quaternion.md) &gt; [identity](./server.quaternion.identity.md) ## Quaternion.identity() method Sets the current quaternion to the identity quaternion. **Signature:** ```typescript identity(): Quaternion; ``` **Returns:** [Quaternion](./server.quaternion.md) The current quaternion.