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

iAgent::refMesh()

Description

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

Syntax

iMesh& refMesh() const;

Return Value

The mesh on which this agent is placed.

Remarks

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