15 Constants

15 Pick Parts Masks

QuickDraw3D defines pick parts masks to indicate the kinds of objects it has placed in the hit list. You use the face, vertex, and edge values to pick parts of meshes. To pick any other object, use the value kQ3PickPartsObject.

typedef enum TQ3PickPartsMasks {
 kQ3PickPartsObject              = 0,
 kQ3PickPartsMaskFace              = 1 << 0,
 kQ3PickPartsMaskEdge              = 1 << 1,
 kQ3PickPartsMaskVertex              = 1 << 2
} TQ3PickPartsMasks;

Constant descriptions

kQ3PickPartsObject
The hit list contains only whole objects.
kQ3PickPartsMaskFace
The hit list contains faces.
kQ3PickPartsMaskEdge
The hit list contains edges.
kQ3PickPartsMaskVertex
The hit list contains vertices.
Constant descriptions

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