Returns the location and elevations of the minimum and maximum points in the displacement map ( or the region ). For example: you might have a displacement map with elevation values from 0 to 100. However a displacement region may only refer to some of the elevation values and this function returns the minimum and maximum for the region. NOTE: The region could include the entire displacement map.
int32 GetMinMaxMapPixel( Vec a_vMin, Vec a_vMax )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Vec> | a_vMin | The X, Y, and Z coordinates of the minimum point in the displacement map are stored by this parameter. |
<Vec> | a_vMax | The X, Y, and Z coordinates of the maximum point in the displacement map are stored by this parameter. |
None published. Please look for an example in the Scenome Scripting Language code base.