[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


SET_LIGHT_SWITCH terminate action

SET_LIGHT_SWITCH turns on/off a light source in a viewport.

Syntax


---->(SET_LIGHT_SWITCH)--|viewport|--|light|--+--(:ON)---+---->
                                              |          |
                                              +--(:OFF)--+

Options

The following options are available to set your light switch.

When to use

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.

Example

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 (" ").

See also

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
[Contents] [Index] [Books]