Model:getBoundingBox
EditReturns the 6 values of the Model's axis-aligned bounding box.
minx, maxx, miny, maxy, minz, maxz = Model:getBoundingBox()
Arguments
None
Returns
Name | Type | Description |
minx | number | The minimum x coordinate of the vertices in the Model. |
maxx | number | The maximum x coordinate of the vertices in the Model. |
miny | number | The minimum y coordinate of the vertices in the Model. |
maxy | number | The maximum y coordinate of the vertices in the Model. |
minz | number | The minimum z coordinate of the vertices in the Model. |
maxz | number | The maximum z coordinate of the vertices in the Model. |