boundingBox: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|BOUNDINGBOX]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|BOUNDINGBOX]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066"> '''boundingBox ''object'''''</h2>
|2.92|= Game version
____________________________________________________________________________________________


| Returns a bounding box of given object in model coordinate space. The result is in format [[minX, minZ, minY], [maxX, maxZ, maxY]]. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''boundingBox''' |= Syntax


'''object:''' [[Object]]
|p1= object: [[Object]] |= Parameter 1


'''Type of returned value:'''
| [[Array]] |= Return value
____________________________________________________________________________________________


[[Array]]
|  |= See also


'''Compatibility:'''
}}


Version 2.92 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Returns a bounding box of given object in model coordinate space.
<h3 style="display:none">Bottom Section</h3>


The result is in format '''[[minX, minZ, minY], [maxX, maxZ, maxY]]'''.
[[Category:Scripting Commands|BOUNDINGBOX]]
[[Category:Scripting Commands ArmA|BOUNDINGBOX]]

Revision as of 22:07, 1 August 2006

-wrong parameter ("Arma") defined!-2.92
Hover & click on the images for description

Description

Description:
Returns a bounding box of given object in model coordinate space. The result is in format [[minX, minZ, minY], [maxX, maxZ, maxY]].
Groups:
Uncategorised

Syntax

Syntax:
boundingBox
Parameters:
object: Object
Return Value:
Array

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section