SoDirectionalLightDragger¶
-
InventorModule
¶ genre InventorDraggers
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
SoDirectionalLightDragger
is a composite dragger. It looks like a sun with a large arrow coming out of it. The arrow can be rotated about the sun by dragging with the mouse; its orientation is given by the rotation field. You can also drag the sun (and the arrow with it) through 3-space. The location is stored in the translation field.
The dragger uses an SoRotateSphericalDragger
for changing the Rotation
. Instead of using the default spherical geometry, this dragger uses an arrow shape.
The sun is an SoDragPointDragger
. Dragging it edits the Translation
field; conversely, if you change the Translation
field the sun will move to that new location, bringing the arrow with it. The sun looks and behaves just like the sun in an SoPointLightDragger
, as does the material part.