GET_CURRENT_LIGHT reports which light source is active in
a specified viewport.
---->(GET_CURRENT_LIGHT)--|viewport|---->
This action has no options.
Use this action to request current light source information.
The following parameter sequence requests current light
information about "vport1".
(getres (GET_CURRENT_LIGHT "vport1"))
Typically OneSpace Designer might return the following
information:
0 -> ambient
1..MAX_LIGHTS -> individual light
all -> ALL
All viewport names must be enclosed by double quotes (" ").
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
GET_LIGHT_ATTENUATION interrupt action
GET_LIGHT_BRIGHTNESS interrupt action
GET_LIGHT_COLOR interrupt action
GET_LIGHT_CONE interrupt 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