Q3Object_GetLeafType
You can use the Q3Object_GetLeafType function to get the leaf type of a QuickDraw 3D object.
TQ3ObjectType Q3Object_GetLeafType (TQ3Object object);
object
- A QuickDraw 3D object.
DESCRIPTION
The Q3Object_GetLeafType function returns, as its function result, the leaf type identifier of the QuickDraw 3D 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.