PathEngine home | previous: | next: |
Used for iterating through fixed obstacles.
void retrieveNamedObstacleByIndex(int32_t index, std::unique_ptr<iAgent>& agent, const char*& id) const |
index | Enumerating index. | ||
agent | This returns a pointer to a newly constructed agent encapsulating the fixed obstacle. | ||
id |
This will be set to a pointer to a C string containing the obstacle's content ID. The string pointed to may be invalidated if changes are subsequently made to the set of fixed obstacles stored. |
Retrieving a fixed obstacle does not remove the fixed obstacle from the set of fixed obstacles stored with a mesh.
void retrieveNamedObstacleByIndex(int index, out Agent agent, out string id); |
void retrieveNamedObstacleByIndex(int index, Object_OutArgument agent, Object_OutArgument id); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |