Next: logfile
Up: Tcl Text Commands
Previous: label
Contents
Index
There are four light sources, numbered 0 to 3, which are used to
illuminate graphical objects. They are point sources located at
infinity, so setting their positions places them along a ray from the
origin through the given point.
- num: Return the number of lights available.
- light_number on: Turn a light on.
- light_number off: Turn a light off.
- light_number status: Return the pair on/off highlight/unhighlight
- light_number rot < x | y | z > angle: Rotate a light (at infinity) angle degrees about a given axis.
- light _numer pos: Return current position.
- light _numer pos default: Return default position.
- light _numer pos { x y z}: Set light position.
vmd@ks.uiuc.edu