|PathEngine home||previous: ||next: |
Obtains a position in the specified section and at the given coordinates, if such a position exists.
cPosition positionInSection(int32_t sectionID, int32_t x, int32_t y) const;
Obtains a position in this section.|
A value of -1 may be passed into this parameter to indicate the entire mesh.
|x||X coordinate for the position.|
|y||Y coordinate for the position.|
Sections can be defined by setting the PE_FaceAttribute_SectionID when building a ground mesh.
If a section includes more than one layer of overlapping geometry at the given x and y coordinates
then this method will return a position in one of those layers, but it is not defined which position will be chosen.
This method is provided primarily for working with terrain layers that do not contain overlapping geometry. Refer to
PathEngine.Position positionInSection(int sectionID, int x, int y);
Position positionInSection(int sectionID, int x, int y);
|Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEngine||next: |