[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


SET_LIGHT_COLOR terminate action

SET_LIGHT_COLOR specifies the color of the specified light source in the specified viewport.

Syntax


--->(SET_LIGHT_COLOR)---|viewport|---|light|---|GET_RGB_COLOR|---->

Options

This action has no options.

When to use

Use this action to set the color of a light source. The values you enter must lie in the range 0.0 to 1.0.

Example

The following parameter sequence sets the light color for the specified viewport.

SET_LIGHT_COLOR "vport2" 7 :HSL 0.4,0.78,0.98

Alternatively, you can use the HSL and RGB sliders on the color menu to specify the default part color.

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

For conceptual information about the Color Editor, and setting up HSL and RGB values, see the sections titled, The Color Systems, HSL Color, and RGB Color in the OneSpace Designer Concepts Guide.

See also

SET_CURRENT_LIGHT terminate action SET_LIGHT_ATTENUATION terminate action SET_LIGHT_BRIGHTNESS terminate action SET_LIGHT_CONE terminate action SET_CURRENT_LIGHT terminate action SET_LIGHT_DIRECTION terminate action SET_LIGHT_FOLLOW terminate action SET_LIGHT_POSITION terminate action SET_LIGHT_SPOT terminate action SET_LIGHT_SWITCH terminate action SET_LIGHT_TYPE terminate 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]