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

iMesh::getNumberOfSections()

Description

Helper function returning the number of sections present in the underlying 3D mesh.

Syntax

tSigned32 getNumberOfSections() const;

Return Value

The number of sections allocated for this mesh.

Note that this is actually determined by top sectionID assigned in mesh + 1.
So, for example, if polygons are present with sectionID 0 and other polygons are present with sectionID 2 but there are no polygons present with sectionID 1 (or any other terrain layer), this method will return 3.


Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEnginenext: iMesh::getOffMeshConnectionInfo()