8 Managing Lights

8 Q3Light_SetState

You can use the Q3Light_SetState function to set the state of a light.

TQ3Status Q3Light_SetState (
TQ3LightObject light, 
TQ3Boolean isOn);
light A light object.
isOn The desired state of the specified light.

DESCRIPTION


The Q3Light_SetState function sets the state of the light specified by the light parameter to the value specified by the isOn parameter. If isOn is set to kQ3True, the light is made active; if isOn is set to kQ3False, the light is made inactive.

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