Model:getAABB

Returns a bounding box that encloses the vertices of the Model.

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

Arguments

None

Returns

NameTypeDescription
minxnumberThe minimum x coordinate of the box.
maxxnumberThe maximum x coordinate of the box.
minynumberThe minimum y coordinate of the box.
maxynumberThe maximum y coordinate of the box.
minznumberThe minimum z coordinate of the box.
maxznumberThe maximum z coordinate of the box.

See also