4 Traversing Mesh Components, Vertices, Faces, and Edges

4 Q3Mesh_FirstMeshComponent

You can use the Q3Mesh_FirstMeshComponent function to get the first component of a mesh.

TQ3MeshComponent Q3Mesh_FirstMeshComponent (
TQ3GeometryObject mesh, 
TQ3MeshIterator *iterator);
mesh A mesh.
iterator A pointer to a mesh iterator structure.

DESCRIPTION


The Q3Mesh_FirstMeshComponent function returns, as its function result, the first mesh component in the mesh specified by the mesh parameter. The iterator parameter is a pointer to a mesh iterator structure that Q3Mesh_FirstMeshComponent fills in before returning. You should pass the address of that structure to the Q3Mesh_NextMeshComponent function.

SPECIAL CONSIDERATIONS


The Q3Mesh_FirstMeshComponent function might not accurately report the first mesh component in a mesh if called while mesh updating is delayed (that is, after a call to Q3Mesh_DelayUpdates but before the matching call to Q3Mesh_ResumeUpdates).

DESCRIPTION
SPECIAL CONSIDERATIONS

3D Graphics Programming with QuickDraw 3D - 21 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker