PathEngine home previous: iCollisionContext::getNumberOfObstacleSets()next: iCollisionContext::includes()
Contents, API Reference, Interfaces, iCollisionContext, getObstacleSet

iCollisionContext::getObstacleSet()

Description

Helper method for iterating through obstacle sets in a context.

Syntax

iObstacleSet* getObstacleSet(tSigned32 index) const;

Parameters

indexThis must be a positive integer less than the number of obstacle sets added to this context.

Return Value

The obstacle sets at the specified index.

Remarks

The index is only an iteration mechanism.
The order of these indices should not be assumed to coincide with the order in which obstruction sets were added, and may be different across different releases.
Also, indices should not be assumed to refer consistently to a single obstruction set after changes to the context.

See Also

iCollisionContext::getNumberOfObstacleSets()
Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEnginenext: iCollisionContext::includes()