hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
56 lines (27 loc) • 848 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Vector3](./server.vector3.md) > [fromVector3Like](./server.vector3.fromvector3like.md)
## Vector3.fromVector3Like() method
Creates a new `Vector3` instance from a `Vector3Like` object.
**Signature:**
```typescript
static fromVector3Like(vector3Like: Vector3Like): Vector3;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
vector3Like
</td><td>
[Vector3Like](./server.vector3like.md)
</td><td>
The `Vector3Like` object to create the `Vector3` instance from.
</td></tr>
</tbody></table>
**Returns:**
[Vector3](./server.vector3.md)
A new `Vector3` instance.