PathEngine home previous: iGround::addExternalRef()next: iGround::get3DFaceAttribute()
Contents, API Reference, Interfaces, iGround, get3DFaceAtPosition



A helper function for obtaining information about the 3D mesh under a position.


int32_t get3DFaceAtPosition(const cPosition& position) const;


position This must be a valid cPosition on this mesh.

Return Value

An index for the 3D face under the supplied position.
This can be used with iGround::get3DFaceVertex() and iGround::get3DFaceConnection() to access the geometry of the underlying 3D mesh local to position.

C# Mapping

int get3DFaceAtPosition(PathEngine.Position position);

Java Mapping

int get3DFaceAtPosition(Position position);

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iGround::get3DFaceAttribute()