|PathEngine home||previous: ||next: |
Draws the boundaries of a rectangular two dimensional region.
void drawRangeBounds(const cHorizontalRange& bounds);
|bounds||The horizontal range for which bounds should be drawn.|
Both X and Y extents of the range to be drawn should be
greater than 1 and all coordinates supplied should be within PathEngine's world range.
(Otherwise a non-fatal error will be generated, and the range will not be drawn.)
The region will be drawn with lines on the surface of the mesh, in the testbed's current colour.
The results of this method are cached internally for up to two ranges.
Calling this method for up to two (fixed) ranges per frame, therefore, should be relatively fast.
But it can be expensive to call this for method for more than two ranges, (on large meshes or meshes with complicated ground geometry).
|Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEngine||next: |