Q3Light_GetState
You can use theQ3Light_GetStatefunction 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
lightparameter.DESCRIPTION
TheQ3Light_GetStatefunction returns, in theisOnparameter, a Boolean value that indicates whether the light specified by thelightparameter is active (kQ3True) or inactive (kQ3False).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help