GINO Graphics Suite - GINO v9.0  

gSetLightSwitch

Syntax

[C/C++:]
void gSetLightSwitch(int light, int sw);
[F90:]
subroutine gSetLightSwitch(light, sw)
integer, intent(in) :: light, sw

Arguments

light
Light source number (1-8)

sw
Light switch

= GOFF, Off (default)
= GON, On

Description

The routine gSetLightSwitch() switches the specified light source on or off.  By default all light sources are switched off.

The type and specification of a light source is defined using gDefineLightSource().

See Also

gSetLightSwitchUsage
gDefineLightSource
gEnqLightAttribs