SET_LIGHT_FOLLOW specifies the follow mode of the a light source
in a viewport.
---->(SET_LIGHT_FOLLOW)--|viewport|--|light|---+--(:FIXED)---+---->
| |
+--(:VIEWER)--+
The following options are available to define the
follow mode.
- :FIXED - defines a fixed light source.
- :VIEWER - defines a light source that maintains the same
direction relative to the viewer as the view is changed.
Use this action to set the follow mode of directional light
sources in a viewport.
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 (" ").
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