15 Data Structures

15 Hit Path Structure

You use a hit path structure to get group information about the path through a model hierarchy to a specific picked object. A hit path structure is defined by the TQ3HitPath data type.

typedef struct TQ3HitPath {
 TQ3GroupObject         rootGroup;
 unsigned long          depth;
 TQ3GroupPosition         *positions;
} TQ3HitPath;
rootGroup The root group that was picked.
depth The number of positions in the path. If the picked object is not in the model hierarchy, this field contains the value 0.
positions A pointer to an array of group positions. This array is allocated by QuickDraw3D.

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

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker