<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [ModelRegistry](./server.modelregistry.md) &gt; [getDepth](./server.modelregistry.getdepth.md)

## ModelRegistry.getDepth() method

Retrieves the Z-axis depth of a model for a scale of 1.

**Signature:**

```typescript
getDepth(modelUri: string): number;
```

## 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 depth for.


</td></tr>
</tbody></table>
**Returns:**

number

The depth of the model.

