| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- return {
- summary = 'Get the Shape\'s axis aligned bounding box.',
- description = 'Returns the bounding box for the Shape.',
- arguments = {},
- returns = {
- minx = {
- type = 'number',
- description = 'The minimum x coordinate of the box.'
- },
- maxx = {
- type = 'number',
- description = 'The maximum x coordinate of the box.'
- },
- miny = {
- type = 'number',
- description = 'The minimum y coordinate of the box.'
- },
- maxy = {
- type = 'number',
- description = 'The maximum y coordinate of the box.'
- },
- minz = {
- type = 'number',
- description = 'The minimum z coordinate of the box.'
- },
- maxz = {
- type = 'number',
- description = 'The maximum z coordinate of the box.'
- }
- },
- variants = {
- {
- arguments = {},
- returns = { 'minx', 'maxx', 'miny', 'maxy', 'minz', 'maxz' }
- }
- },
- related = {
- 'Collider:getAABB'
- }
- }
|