GetMinMaxMapPixel Data Member Function

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.

Prototype

int32 GetMinMaxMapPixel( Vec a_vMin, Vec a_vMax )

Parameters

Parameter Type Parameter Name Documentation
<Vec>a_vMinThe X, Y, and Z coordinates of the minimum point in the displacement map are stored by this parameter.
<Vec>a_vMaxThe X, Y, and Z coordinates of the maximum point in the displacement map are stored by this parameter.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.