Q3Mesh_GetFaceIndex
You can use theQ3Mesh_GetFaceIndex
function to get the index of a mesh face.
TQ3Status Q3Mesh_GetFaceIndex ( TQ3GeometryObject mesh, TQ3MeshFace face, unsigned long *index);
mesh
- A mesh.
face
- A mesh face.
index
- On exit, the index of the specified mesh face.
DESCRIPTION
TheQ3Mesh_GetFaceIndex
function returns, in theindex
parameter, the index of the mesh face specified by themesh
andface
parameters. A face index is a unique integer (between 0 and the total number of faces in the mesh minus 1) associated with a face.
- WARNING
- Face indices are volatile and can be changed by functions that alter the topology of a mesh (such as functions that add or delete faces or vertices), and by writing, picking, rendering, or duplicating a mesh, or by calling
Q3Mesh_DelayUpdates
. As a result, you should rely on an index returned byQ3Mesh_GetFaceIndex
only until you perform one of these operations.8batcolor>s![]()
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help