| PathEngine home | previous: | next: |
Generates a random position on the region of a mesh local to the specified centre position.
cPosition generateRandomPositionLocally(const cPosition& centre, tSigned32 range) const; |
| centre | Specifies the centre of the region in which to generate a random position. | ||
| range |
Specifies the size of the region in which to generate a random position. Must be greater than zero. |
A valid, randomly generated position on this mesh and with x and y components within +/- range of centre.
| Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEngine | next: |