SoDirectionalLightDragger¶
-
InventorModule
¶ genre InventorDraggers
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
The node SoDirectionalLightDragger
is a composite dragger that resembles a sun with a large arrow extending from it. The arrow can be rotated around the sun by dragging with the mouse, and its orientation is specified by the Rotation
field. You can also drag the sun (along with the arrow) through three-dimensional space. The dragger’s location is stored in the Translation
field.
The dragger utilizes an SoRotateSphericalDragger
to change the Rotation
. Instead of employing the default spherical geometry, this dragger features an arrow shape.
The sun is an SoDragPointDragger
. Dragging it modifies the Translation
field; conversely, if you change the Translation
field, the sun will move to that new location, bringing the arrow along. The sun looks and behaves just like the sun in an SoPointLightDragger
, as does the material component.