boundingBox: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


Line 14: Line 14:
|p1= object: [[Object]] |= Parameter 1
|p1= object: [[Object]] |= Parameter 1


| [[Array]] |= Return value
| [[Array]] - An array with the extreme points of the model. Format: <code>[[minX, minZ, minY], [maxX, maxZ, maxY]]</code> |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 12:39, 2 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.
Groups:
Uncategorised

Syntax

Syntax:
boundingBox
Parameters:
object: Object
Return Value:
Array - An array with the extreme points of the model. Format: [[minX, minZ, minY], [maxX, maxZ, maxY]]

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