SoDirectionalLightDragger¶
- InventorModule¶
genre
author
package
definition
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.
Windows¶
Default Panel¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Visible Fields¶
Is Active¶
- name: isActive, type: Bool, persistent: no¶
Shows whether this dragger is currently active.
Translation¶
- name: translation, type: Vector3, default: 0 0 0¶
Sets and shows the position of the dragger.
Rotation¶
- name: rotation, type: Rotation, default: 0 0 1 0¶
Sets and shows the orientation of the dragger.