3 Determining Object Types

3 Q3Object_GetType

You can use the Q3Object_GetType function to get the type of a core QuickDraw3D object.

TQ3ObjectType Q3Object_GetType (TQ3Object object);
object A QuickDraw3D object.

DESCRIPTION


The Q3Object_GetType function returns, as its function result, the type identifier of the QuickDraw3D object specified by the object parameter. If successful, Q3Object_GetType returns one of these constants:

kQ3ObjectTypeElement
kQ3ObjectTypePick
kQ3ObjectTypeShared
kQ3ObjectTypeView
If the type cannot be determined or is invalid, Q3Object_GetType returns the value kQ3ObjectTypeInvalid.

DESCRIPTION

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

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker