4 Traversing Mesh Components, Vertices, Faces, and Edges
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.
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.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
).
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker