9 Managing Cameras

9 Q3Camera_GetType

You can use the Q3Camera_GetType function to get type of a camera.

TQ3ObjectType Q3Camera_GetType (TQ3CameraObject camera);
camera A camera object.

DESCRIPTION


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

kQ3CameraTypeOrthographic
kQ3CameraTypeViewAngleAspect
kQ3CameraTypeViewPlane
If Q3Camera_GetType cannot determine the type of the specified camera, it returns kQ3ObjectTypeInvalid.

DESCRIPTION

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

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker