Home Reference VEX VEX functions 

getbounds vex function

Contexts: chop , cop , displace , fog , image3d , light , photon , pop , shadow , sop , surface

Tags: geo

Returns the bounding box of the geometry specified by the filename.

  1. int getbounds(string filename, vector min&, vector max&)

Returns the bounding box of the geometry specified by the filename. The point corresponding to the minimum corner of the bounding box will be returned in min, while the maximum will be in max. Returns 1 if successful, or 0 if unable to load the geometry.