SET_LIGHT_TYPE changes the light type of the specified light source
in the specified viewport.
---->(SET_LIGHT_TYPE)--|viewport|--|light|--+--(:DIRECTIONAL)--+---->
| |
+--(:POSITIONAL)---+
| |
+--(:SPOT)---------+
The following options are provided to select a light type.
- :DIRECTIONAL - specifies a directional light source.
- :POSITIONAL - specifies a positional light source.
- :SPOT - specifies a spot light.
Note that the type of light number 0 (zero), cannot be changed
from ambient.
Use this action to specify the type of a light as directional,
positional, or spot.
The following parameter sequence specifies a positional light type.
SET_LIGHT_TYPE "vport12" 9 :POSITIONAL
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_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