Contents, API Reference, Interfaces, iFaceVertexMesh, vertexIndex
iFaceVertexMesh::vertexIndex()
Description
Used to obtain unique vertex indices for the vertices around a face.
Syntax
tSigned32 vertexIndex(tSigned32 face, tSigned32 vertexInFace) const;
|
Parameters
| face | |
The (zero-based) index of the face being queried.
|
| vertexInFace | |
A value of 0, 1 or 2 to specify which vertex
in the face is being queried.
|
Return value
The (zero-based) index of the specified vertex.
Remarks
The vertex index obtained by this method can then be passed in to
iFaceVertexMesh::vertexX(), iFaceVertexMesh::vertexY(), or iFaceVertexMesh::vertexZ(),
to obtain coordinates.