Next: logfile
 Up: Core 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 the only controls are to rotate a light or turn it on or
off.  A dotted line from the light to the axis can be turned on to help
show where the light is located.
- num: Return the number of lights available.
 
- light_number on: Turn a light on.
 
- light_number off: Turn a light off.
 
- light_number highlight: Display a line indicating the
position of a light source.
 
- light_number unhighlight: Hide the line indicating the
position of a light source.
 
- 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.
  
 
vmd@ks.uiuc.edu