Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 15 - Pick Objects / Pick Objects Reference
Pick Objects Routines / Managing Pick Objects


Q3Pick_GetNumHits

You can use the Q3Pick_GetNumHits function to get the number of hits in the hit list of a pick object.

TQ3Status Q3Pick_GetNumHits (
TQ3PickObject pick, 
unsigned long *numHits);
pick
A pick object.
numHits
On exit, the number of items in the hit list of the specified pick object.
DESCRIPTION
The Q3Pick_GetNumHits function returns, in the numHits parameter, the number of items in the hit list associated with the pick object specified by the pick parameter. This number never exceeds the maximum number of items specified in the pick object's data structure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help