Contents, API Reference, Interfaces, iMesh, getNumberOfSections
Helper function returning the number of sections present in the underlying 3D mesh.
int32_t getNumberOfSections() const;
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.