Model:getDimensions
EditReturns the width, height, and depth of the Model, computed from its axis-aligned bounding box.
Get the dimensions of the whole Model.
Arguments
None
Returns
| Name | Type | Description |
| width | number | The width. |
| height | number | The height. |
| depth | number | The depth. |
Get the dimensions of a single mesh in the Model.
Arguments
| Name | Type | Description |
| mesh | number | The mesh to get the dimensions of. |
Returns
| Name | Type | Description |
| width | number | The width. |
| height | number | The height. |
| depth | number | The depth. |
Get the dimensions of a single part of a mesh in the Model.
Arguments
| Name | Type | Description |
| mesh | number | The mesh to get the dimensions of. |
| part | number | The part to get the dimensions of. |
Returns
| Name | Type | Description |
| width | number | The width. |
| height | number | The height. |
| depth | number | The depth. |