8 Managing Lights

8 Q3Light_SetBrightness

You can use the Q3Light_SetBrightness function to set the brightness of a light.

TQ3Status Q3Light_SetBrightness (
TQ3LightObject light, 
float brightness);
light A light object.
brightness The desired brightness of the specified light.

DESCRIPTION


The Q3Light_SetBrightness function sets the brightness of the light specified by the light parameter to the value specified by the brightness parameter. The value should be between 0.0 and 1.0, inclusive.

DESCRIPTION

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

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker