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

iMesh::retrieveAnchorByIndex()

Description

Used for iterating through anchors.

Syntax

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

Parameters

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.

Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEnginenext: iMesh::retrieveNamedObstacle()