The CW_LIGHT_EDITOR procedure sets the CW_LIGHT_EDITOR properties.
CW_LIGHT_EDITOR_SET, WidgetID [, /DIRECTION_DISABLED] [, /DRAG_EVENTS] [, /HIDE_DISABLED] [, LIGHT=objref(s)] [, /LOCATION_DISABLED] [, /TYPE_DISABLED] [, XSIZE=pixels] [, YSIZE=pixels] [, XRANGE=vector] [, YRANGE=vector] [, ZRANGE=vector]
The widget ID of the CW_ LIGHT_EDITOR compound widget.
Set this keyword to make the direction widget portion of the compound widget unchangeable by the user. It will appear insensitive and will not generate an event.
Set this keyword to cause events to be generated continuously while a slider in the compound widget is being dragged or when the mouse cursor is being dragged across the draw widget portion of the compound widget.
When this keyword is set, a large number of events can be generated. On slower machines, poor performance can result. Therefore, this option should only be used when detailed or truly interactive control is required.
Note: Under Microsoft Windows, sliders do not generate these events, but behave just like regular sliders.
Set this keyword to make the hide widget portion of the compound widget unchangeable by the user. It will appear insensitive and will not generate an event.
Set this keyword to one or more object references to IDLgrLight to edit. This will replace the current set of lights being edited with the list of lights from this keyword.
Set this keyword to make the location widget portion of the compound widget unchangeable by the user. It will appear insensitive and will not generate an event.
Set this keyword to make the light type widget portion of the compound widget unchangeable by the user. It will appear insensitive and will not generate an event.
A two-element vector defining the data range in the x direction. This keyword is used to determine the valid range for the light's location and direction properties.
The width of the drawable area in pixels.
A two-element vector defining the data range in the y direction. This keyword is used to determine the valid range for the light's location and direction properties.
The height of the drawable area in pixels.
A two-element vector defining the data range in the z direction. This keyword is used to determine the valid range for the light's location and direction properties.
5.3 |
Introduced |