[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


GET_LIGHT_BRIGHTNESS interrupt action

GET_LIGHT_BRIGHTNESS requests the brightness of the specified light source.

Syntax


---->(GET_LIGHT_BRIGHTNESS)--|viewport|--|light|---->

Options

This action has no options.

When to use

Use this action to request light brightness information. Brightness values are in the range 0.0 to 1.0.

Example

The following parameter sequence requests the brightness of light source number 3.

(getres (GET_LIGHT_BRIGHTNESS "vport1" 3))

OneSpace Designer returns the brightness of the specified light source.

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

See also

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 GET_LIGHT_ATTENUATION interrupt action GET_LIGHT_COLOR interrupt action GET_LIGHT_CONE interrupt action GET_CURRENT_LIGHT 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
[Contents] [Index] [Books]