Contents, API Reference, Interfaces, iGround, getSectionID
iGround::getSectionID()
Description
Returns the section ID for a given position.
Syntax
int32_t getSectionID(const cPosition& position) const; |
Parameters
| position | |
This must be a valid cPosition on this ground.
|
Return Value
A value of -1 indicates that the position has not been assigned to a section.
Otherwise a value of zero greater is returned, corresponding to the section
for this position.
Remarks
Section IDs can be applied to faces by specifying the PE_FaceAttribute_SectionID
face attribute
when building a ground mesh.
C# Mapping
int getSectionID(PathEngine.Position position); |
Java Mapping
int getSectionID(Position position);
|