PathEngine home previous: iAgent::getPosition()next: iAgent::getTraverseCost()
Contents, API Reference, Interfaces, iAgent, getShape

iAgent::getShape()

Description

A helper function to obtain the Interface iShape that was used to place the agent.

Syntax

iShape* getShape() const;

Return Value

Returns the shape that was used when placing the agent, for agents placed with iMesh::placeAgent(),

Returns zero for agents placed with iMesh::placeLargeStaticObstacle().


Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEnginenext: iAgent::getTraverseCost()