4 Q3Mesh_GetComponentNumVertices

You can use the Q3Mesh_GetComponentNumVertices function to determine the number of vertices in a component of a mesh.

TQ3Status Q3Mesh_GetComponentNumVertices (
TQ3GeometryObject mesh, 
TQ3MeshComponent component, 
unsigned long *numVertices);
mesh A mesh.
component A mesh component.
numVertices On exit, the number of vertices in the specified mesh component.

DESCRIPTION


The Q3Mesh_GetComponentNumVertices function returns, in the numVertices parameter, the number of vertices in the mesh component specified by the mesh and component parameters.

SPECIAL CONSIDERATIONS


The Q3Mesh_GetComponentNumVertices function might not accurately report the number of vertices in a mesh component 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