Q3Mesh_FirstMeshComponent
You can use theQ3Mesh_FirstMeshComponentfunction 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
TheQ3Mesh_FirstMeshComponentfunction returns, as its function result, the first mesh component in the mesh specified by themeshparameter. Theiteratorparameter is a pointer to a mesh iterator structure thatQ3Mesh_FirstMeshComponentfills in before returning. You should pass the address of that structure to theQ3Mesh_NextMeshComponentfunction.SPECIAL CONSIDERATIONS
TheQ3Mesh_FirstMeshComponentfunction might not accurately report the first mesh component in a mesh if called while mesh updating is delayed (that is, after a call toQ3Mesh_DelayUpdatesbut before the matching call toQ3Mesh_ResumeUpdates).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help