Model:getBoundingBox

Returns the 6 values of the Model's axis-aligned bounding box.

minx, maxx, miny, maxy, minz, maxz = Model:getBoundingBox()

Arguments

None

Returns

NameTypeDescription
minxnumber The minimum x coordinate of the vertices in the Model.
maxxnumber The maximum x coordinate of the vertices in the Model.
minynumber The minimum y coordinate of the vertices in the Model.
maxynumber The maximum y coordinate of the vertices in the Model.
minznumber The minimum z coordinate of the vertices in the Model.
maxznumber The maximum z coordinate of the vertices in the Model.

See also