UNPKG

hytopia

Version:

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

76 lines (35 loc) 761 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; [(constructor)](./server.vector3._constructor_.md) ## Vector3.(constructor) Constructs a new instance of the `Vector3` class **Signature:** ```typescript constructor(x: number, y: number, z: number); ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> x </td><td> number </td><td> </td></tr> <tr><td> y </td><td> number </td><td> </td></tr> <tr><td> z </td><td> number </td><td> </td></tr> </tbody></table>