Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 13 - View Objects / View Objects Reference
View Objects Routines / Creating and Configuring Views


Q3View_SetLightGroup

You can use the Q3View_SetLightGroup function to set the light group associated with a view.

TQ3Status Q3View_SetLightGroup (
TQ3ViewObject view, 
TQ3GroupObject lightGroup);
view
A view.
lightGroup
A light group.
DESCRIPTION
The Q3View_SetLightGroup function attaches the light group specified by the lightGroup parameter to the view specified by the view parameter. The reference count of the specified light group is incremented. In addition, if some other light group was already attached to the specified view, the reference count of that light group is decremented.

SEE ALSO
For information on creating and manipulating light groups, see the chapters "Light Objects" and "Group Objects" in this book.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help