Scene3D.getElementsBBox() method
Get the bounding box of elements.
Signature:
getElementsBBox(elementNames: Array<string>): Float32Array;
Parameters
Parameter | Description |
---|
elementNames | An array of element names. |
Returns:
Float32Array
An Float32Array with 6 floats. [minX, minY, minZ, maxX, maxY, maxZ]