[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


SET_LIGHT_FOLLOW terminate action

SET_LIGHT_FOLLOW specifies the follow mode of the a light source in a viewport.

Syntax


---->(SET_LIGHT_FOLLOW)--|viewport|--|light|---+--(:FIXED)---+---->
                                               |             |
                                               +--(:VIEWER)--+

Options

The following options are available to define the follow mode.

When to use

Use this action to set the follow mode of directional light sources in a viewport.

Example

The following parameter sequence sets the follow mode of a light source in the specified viewport.

SET_LIGHT_FOLLOW "vport2" 14 :FIXED

This action is only valid for directional light sources.

For example, if the current light is pointing down onto the top of the model and SET_LIGHT_FOLLOW is invoked with the :VIEWER option, the light will always point down, even if the view orientation is changed.

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_POSITION terminate action SET_LIGHT_SPOT terminate action SET_LIGHT_SWITCH terminate action SET_LIGHT_TYPE terminate 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]