SoSpotLightDragger¶
-
InventorModule
¶ genre InventorDraggers
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
SoSpotLightDragger
is a composite dragger shaped like a beam of light emanating from a sun-like sphere. An arrow runs along the axis of the beam and extends beyond 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 utilize a standard dragger class to execute this motion.
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 components together through 3D space. Its movement controls the Translation
field.