9 Managing View Plane Cameras

9 Q3ViewPlaneCamera_GetCenterX

You can use the Q3ViewPlaneCamera_GetCenterX function to get the horizontal center of the viewed object.

TQ3Status Q3ViewPlaneCamera_GetCenterX (
TQ3CameraObject camera, 
float *centerXOnViewPlane);
camera A view plane camera object.
centerXOnViewPlane
On exit, the x coordinate of the center of the viewed object.

DESCRIPTION


The Q3ViewPlaneCamera_GetCenterX function returns, in the centerXOnViewPlane parameter, the x coordinate of the center of the viewed object of the camera specified by the camera parameter.

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