ModelData:getDepth
EditReturns the depth of the model, computed from its axis-aligned bounding box.
Get the depth of the whole model.
Arguments
None
Returns
| Name | Type | Description |
| depth | number | The depth. |
Get the depth of a single mesh in the model.
Arguments
| Name | Type | Description |
| mesh | number | The mesh to get the depth of. |
Returns
| Name | Type | Description |
| depth | number | The depth. |
Get the depth of a single part of a mesh in the model.
Arguments
| Name | Type | Description |
| mesh | number | The mesh to get the depth of. |
| part | number | The part to get the depth of. |
Returns
| Name | Type | Description |
| depth | number | The depth. |