[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


SET_LIGHT_DIRECTION terminate action

SET_LIGHT_DIRECTION specifies the direction of a light in a viewport.

Syntax


---->(SET_LIGHT_DIRECTION)--|viewport|--|light|--|3D vector|---->

Options

This action has no options.

When to use

Use this action to specify light direction for directional and spot lights in a viewport.

Example

The following parameter sequence sets a new direction for the specified light.

SET_LIGHT_DIRECTION "vport4" 14 [specify 3D vector]

The DIRECTION 3D menu is displayed to help you specify the direction vector.

All viewport names must be enclosed by double quotes (" ").

You can enter the value in several different ways. For more information, see DIRECTION_3D.

This action has no effect on the ambient light setting or on positional lights.

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 DYNAMIC_LIGHT terminate action SET_LIGHT_FOLLOW terminate action SET_LIGHT_POSITION terminate action SET_LIGHT_SPOT terminate action SET_LIGHT_SWITCH terminate action SET_LIGHT_TYPE terminate action GET_LIGHT_DIRECTION interrupt action GET_LIGHT_FOLLOW interrupt action GET_LIGHT_POSITION interrupt action GET_LIGHT_SPOT interrupt action GET_LIGHT_SWITCH interrupt action GET_LIGHT_TYPE interrupt action SELECT_VP_SA subaction
[Contents] [Index] [Books]