[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


SET_LIGHT_SPOT terminate action

SET_LIGHT_SPOT specifies the spot power of a light source in a viewport.

Syntax


---->(SET_LIGHT_SPOT)--|viewport|--|light|-+-|spot power|-+--->
                                           |              |
                                           +--(:OFF)------+

Options

This action has no options.

When to use

Use this action to specify the power of a spot light.

Spot power specifies how focused the spot light is: the higher the number, the more focused the light. The value you set must be in the region of 1 to 16383.

Example

The following parameter sequence sets the power of a spot light in the specified viewport.

SET_LIGHT_SPOT "vport1" 15 10879

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