1 Managing Shapes
Q3Shape_GetType
function to get the type of a shape.
TQ3ObjectType Q3Shape_GetType (TQ3ShapeObject shape);
shape
A shape object.
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 kQ3ShapeTypeUnknownIf the type of the shape cannot be determined or is invalid,
Q3Shape_GetType
returns the value kQ3ObjectTypeInvalid
.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker