SoSpotLightDragger¶
-
InventorModule
¶ genre InventorDraggers
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
SoSpotLightDragger
is a composite dragger. It is shaped like a beam of light emanating from a sun-like ball. An arrow runs along the axis of the beam and extends past the end of the beam.
When you click and drag the beam, it opens and closes with an umbrella- like motion. The angle between the center and edge of the beam is stored in the Angle
field of this dragger; setting the Angle
field causes the beam to widen or narrow in response. The spotlight dragger does not use a standard dragger class to execute this motion. More details are given later in this section.
Dragging the arrow rotates it around the sun, and the beam moves with it. The arrow is an SoRotateSphericalDragger
that controls the rotation field.
The sun-shape can be dragged to translate all three pieces together through 3-space. Its movement controls the Translation
field.