7 Managing Transforms

7 Q3Transform_GetType

You can use the Q3Transform_GetType function to get the type of a transform object.

TQ3ObjectType Q3Transform_GetType (TQ3TransformObject transform);
transform A transform.

DESCRIPTION


The Q3Transform_GetType function returns, as its function result, the type of the transform object specified by the transform parameter. The types of transform objects currently supported by QuickDraw3D are defined by these constants:

kQ3TransformTypeMatrix
kQ3TransformTypeQuaternion
kQ3TransformTypeRotate
kQ3TransformTypeRotateAboutAxis
kQ3TransformTypeRotateAboutPoint
kQ3TransformTypeScale
kQ3TransformTypeTranslate
If the specified transform object is invalid or is not one of these types, Q3Transform_GetType returns the value kQ3ObjectTypeInvalid.

DESCRIPTION

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

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker