boundingBox: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (typo)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''boundingBox''' object |= Syntax
| '''boundingBox''' model |= Syntax


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


| [[Array]] - An array with the extreme points of the model. Format: <code>[[minX, minZ, minY], [maxX, maxZ, maxY]]</code> |= 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 09:40, 24 August 2007

-wrong parameter ("Arma") defined!-1.00
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 model
Parameters:
model : Object
Return Value:
Array - An array with the extreme points of the model. Format: [[minX, minZ, minY], [maxX, maxZ, maxY]]

Examples

Example 1:
_box = boundingBox abrams

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