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(int32_t index, cPosition& position, int32_t& 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.

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.04 - Copyright © 2002-2024 PathEnginenext: iMesh::retrieveNamedObstacle()