PathEngine home previous: iMesh::retrieveAnchor()next: iMesh::retrieveNamedObstacle()
Contents, API Reference, Interfaces, iMesh, retrieveAnchorByIndex



Used for iterating through anchors.


void retrieveAnchorByIndex(int32_t index, cPosition& position, int32_t& orientation, const char*& id) const;


indexEnumerating index.
positionThis will be set to the anchor position.
orientationThis will be set to the anchor orientation.
id This will be set to a pointer to a C string containing the anchor's content ID.
The string pointed to may be invalidated if changes are subsequently made to the set of anchors stored.

C# Mapping

void retrieveAnchorByIndex(int index, out PathEngine.Position position, out int orientation, out string id);

Java Mapping

void retrieveAnchorByIndex(int index, Object_OutArgument position, int_OutArgument orientation, Object_OutArgument id);

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iMesh::retrieveNamedObstacle()