PathEngine home previous: iMesh::generateRandomPositionLocally()next: iMesh::get3DFaceAttribute()
Contents, API Reference, Interfaces, iMesh, get3DFaceAtPosition

iMesh::get3DFaceAtPosition()

Description

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

Syntax

tSigned32 get3DFaceAtPosition(const cPosition& position) const;

Parameters

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 iMesh::get3DFaceVertex() and iMesh::get3DFaceConnection() to access the geometry of the underlying 3D mesh local to position.


Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEnginenext: iMesh::get3DFaceAttribute()