Contents, API Reference, Interfaces, iMesh, getNumberOfSections
iMesh::getNumberOfSections()
Description
Helper function returning the number of sections present in the underlying 3D mesh.
Syntax
int32_t 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.
C# Mapping
int getNumberOfSections(); |
Java Mapping
int getNumberOfSections();
|