3 Determining Object Types

3 Q3Object_GetLeafType

You can use the Q3Object_GetLeafType function to get the leaf type of a QuickDraw3D object.

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

DESCRIPTION


The Q3Object_GetLeafType function returns, as its function result, the leaf type identifier of the QuickDraw3D object specified in the object parameter. You should call this function only when the specified object is a leaf object (for example, when you've read the object in from a file). If the leaf type cannot be determined or is invalid, Q3Object_GetLeafType 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