[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


SET_LIGHT_CONE terminate action

SET_LIGHT_CONE specifies the cone angle of a spot light in a viewport.

Syntax


---->(SET_LIGHT_CONE)--|viewport|--|light|--|angle|---->

Options

This action has no options.

When to use

Use this action to set the cone angle of a spot light in a viewport.

Example

The following parameter sequence sets the cone angle for a light in the specified viewport.

SET_LIGHT_CONE "vport2" 12 37

You can either enter the angle directly, or specify a point on the cone's boundary.

Note that the angle you specify is actually half of the full cone angle. The cone angle is in the current angle units.

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

See also

SET_CURRENT_LIGHT terminate action SET_LIGHT_ATTENUATION terminate action SET_LIGHT_BRIGHTNESS terminate action SET_LIGHT_COLOR 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 SET_LIGHT_TYPE terminate 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]