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.

Windows

Default Panel

../../../Modules/Inventor/InventorBase/mhelp/Images/Screenshots/SoDirectionalLightDragger._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Is Active

name: isActive, type: Bool, persistent: no

TRUE when mouse is down and dragging, else FALSE.

Translation

name: translation, type: Vector3, default: 0 0 0

The position of the dragger.

Rotation

name: rotation, type: Rotation, default: 0 0 1 0

Orientation of the dragger. Three lines along the x, y, and z axes form the central star shape, which you can drag with the mouse to rotate the dragger.

Hidden Fields

enable

name: enable, type: Bool, default: TRUE