PathEngine home previous: iMesh::getNumberOfSections()next: iMesh::getSectionID()
Contents, API Reference, Interfaces, iMesh, getOffMeshConnectionInfo

iMesh::getOffMeshConnectionInfo()

Description

Helper function for retrieving information about off-mesh connections stored with a mesh.

Syntax

void getOffMeshConnectionInfo(tSigned32 index, tSigned32& fromEndPoint, tSigned32& toEndPoint, tSigned32& penalty) const;

Parameters

index The index of the connection for which information is to be retrieved.
fromEndPoint The index for the source endpoint of the connection is returned in this parameter.
toEndPoint The index for the target endpoint of the connection is returned in this parameter.
penalty The penalty associated with the connection is returned in this parameter.

Remarks

See Off‑Mesh Connections for an overview of the off-mesh connection functionality, and Working with Off‑Mesh Connections for information about other methods relating to this functionality.


Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEnginenext: iMesh::getSectionID()