Contents, API Reference, Interfaces, iMesh, generateRandomPosition
iMesh::generateRandomPosition()
Description
Generates a random position on the surface of this mesh.
Syntax
cPosition generateRandomPosition() const; |
Return Value
A valid, randomly generated position on this mesh.
Remarks
You can use this method in conjunction with
iPathEngine::setRandomSeed()
to generate a deterministic sequence of positions
for benchmarking or for stress testing.
See Also
iMesh::generateRandomPositionLocally()
C# Mapping
PathEngine.Position generateRandomPosition(); |
Java Mapping
Position generateRandomPosition();
|