SET_LIGHT_SWITCH turns on/off a light source in a viewport.
---->(SET_LIGHT_SWITCH)--|viewport|--|light|--+--(:ON)---+---->
| |
+--(:OFF)--+
The following options are available to set your
light switch.
- :ON - turns on the light source.
- :OFF - turns off the light source.
Use this action to turn light sources on or off.
Turning a light on or off does not affect any of the light's
settings.
The following parameter sequence switches on the specified light
source.
SET_LIGHT_SWITCH "vport1" 15 :ON
All viewport names must be enclosed by double quotes (" ").
SET_CURRENT_LIGHT terminate action
SET_LIGHT_ATTENUATION terminate action
SET_LIGHT_BRIGHTNESS terminate action
SET_LIGHT_COLOR terminate action
SET_LIGHT_CONE terminate action
SET_CURRENT_LIGHT terminate action
SET_LIGHT_DIRECTION terminate action
DYNAMIC_LIGHT terminate action
SET_LIGHT_FOLLOW terminate action
SET_LIGHT_POSITION terminate action
SET_LIGHT_SPOT terminate action
SET_LIGHT_TYPE terminate action
GET_LIGHT_SWITCH interrupt action
GET_LIGHT_TYPE interrupt action
ON_OFF_SA subaction
SELECT_VP_SA subaction