8 Managing Lights

8 Q3Light_GetState

You can use the Q3Light_GetState function to get the current state of a light.

TQ3Status Q3Light_GetState (
TQ3LightObject light, 
TQ3Boolean *isOn);
light A light object.
isOn On exit, the current state of the light specified by the light parameter.

DESCRIPTION


The Q3Light_GetState function returns, in the isOn parameter, a Boolean value that indicates whether the light specified by the light parameter is active (kQ3True) or inactive (kQ3False).

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