PathEngine home previous: iAgent::moveTo()next: iAgent::release()
Contents, API Reference, Interfaces, iAgent, refMesh



A helper function to access the mesh on which this agent is placed.


iMesh& refMesh() const;

Return Value

The mesh on which this agent is placed.


Unlike iAgent::getMesh(), the API object reference count for the mesh is not incremented. The returned reference should not be converted to a pointer, it's release() method should not be called, and it should only be considered valid as long as a reference is held to the agent object you call this on.

C# Mapping

Mesh refMesh();

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