[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


SET_LIGHT_TYPE terminate action

SET_LIGHT_TYPE changes the light type of the specified light source in the specified viewport.

Syntax


---->(SET_LIGHT_TYPE)--|viewport|--|light|--+--(:DIRECTIONAL)--+---->
                                            |                  |
                                            +--(:POSITIONAL)---+
                                            |                  |
                                            +--(:SPOT)---------+

Options

The following options are provided to select a light type.

Note that the type of light number 0 (zero), cannot be changed from ambient.

When to use

Use this action to specify the type of a light as directional, positional, or spot.

Example

The following parameter sequence specifies a positional light type.

SET_LIGHT_TYPE "vport12" 9 :POSITIONAL

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_SWITCH terminate action GET_LIGHT_TYPE interrupt action SELECT_VP_SA subaction
[Contents] [Index] [Books]