hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
56 lines (27 loc) • 818 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [ModelRegistry](./server.modelregistry.md) > [getBoundingBox](./server.modelregistry.getboundingbox.md)
## ModelRegistry.getBoundingBox() method
Retrieves the bounding box of a model.
**Signature:**
```typescript
getBoundingBox(modelUri: string): ModelBoundingBox;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
modelUri
</td><td>
string
</td><td>
The URI of the model to retrieve the bounding box for.
</td></tr>
</tbody></table>
**Returns:**
[ModelBoundingBox](./server.modelboundingbox.md)
The bounding box of the model.