BOOL GetLightState( int LightNumber );
Specifies a zero based index for the light
TRUE if the light is turned on. FALSE if the light is turned off.
Use the GetLightState method function to determine the requested light on/off state.
The method function is a wrapper around the OpenGL glGetBooleanv function.
|Note:||The GetLightState member function uses the current OpenGL rendering context. Ensure that the current rendering context is what you intend to use. Use wglMakeCurrent or DrawBegin member functions to set the current rendering context.|
SetLightingMode, GetLightingMode, GetNumberOfLights,SetLightState, SetLightModelLocalViewer, GetLightModelLocalViewer
|© 2001 Solid Graphics, All rights reserved.|
|To view this site, we require use of either Netscape Navigator 4.0 or higher or Internet Explorer 4.0 or higher.|