[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


GET_LIGHT_ATTENUATION interrupt action

GET_LIGHT_ATTENUATION requests the attenuation distance of the specified light source.

Syntax


---->(GET_LIGHT_ATTENUATION)--|viewport|--|light|---->

Options

This action has no options.

When to use

Use this action to request light attenuation information. The attenuation distance is returned in the current length units.

Example

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

(getres (GET_LIGHT_ATTENUATION "vport1" 3))

OneSpace Designer returns the attenuation distance of the specified light source.

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

See also

SET_LIGHT_ATTENUATION terminate action GET_LIGHT_BRIGHTNESS interrupt action GET_LIGHT_COLOR interrupt action GET_LIGHT_CONE interrupt action GET_CURRENT_LIGHT interrupt action GET_LIGHT_DIRECTION interrupt action DYNAMIC_LIGHT 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
[Contents] [Index] [Books]