1 Managing Shapes

1 Q3Shape_GetType

You can use the Q3Shape_GetType function to get the type of a shape.

TQ3ObjectType Q3Shape_GetType (TQ3ShapeObject shape);
shape A shape object.

DESCRIPTION


The Q3Shape_GetType function returns, as its function result, the type of the shape specified by the shape parameter. The types of shapes currently supported by QuickDraw3D are defined by these constants:

kQ3ShapeTypeCamera
kQ3ShapeTypeGeometry
kQ3ShapeTypeGroup
kQ3ShapeTypeLight
kQ3ShapeTypeShader
kQ3ShapeTypeStyle
kQ3ShapeTypeTransform
kQ3ShapeTypeUnknown
If the type of the shape cannot be determined or is invalid, Q3Shape_GetType returns the value kQ3ObjectTypeInvalid.

DESCRIPTION

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

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker