13 Creating and Configuring Views

13 Q3View_SetCamera

You can use the Q3View_SetCamera function to set the camera associated with a view.

TQ3Status Q3View_SetCamera (
TQ3ViewObject view, 
TQ3CameraObject camera);
view A view.
camera A camera object.

DESCRIPTION


The Q3View_SetCamera function attaches the camera specified by the camera parameter to the view specified by the view parameter. The reference count of the specified camera is incremented. In addition, if some other camera was already attached to the specified view, the reference count of that camera is decremented.

SEE ALSO


For information on creating and manipulating cameras, see the chapter "Camera Objects" in this book.

DESCRIPTION
SEE ALSO

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