Contents, API Reference, Interfaces, iGround, getNumberOfSections
iGround::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 ground.
Note that this is actually determined by top sectionID assigned in ground + 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();
|