8 Managing Lights
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 thelight
parameter.
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
).
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker