SoSpotLightDragger¶
- InventorModule¶
genre
author
package
definition
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.
Windows¶
Default Panel¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
Visible Fields¶
Is Active¶
- name: isActive, type: Bool, persistent: no¶
Shows whether this dragger is active.
Rotation¶
- name: rotation, type: Rotation, default: 0 0 1 0¶
Sets and shows the orientation of the rotating part (an arrow by default).
Translation¶
- name: translation, type: Vector3, default: 0 0 0¶
Sets and shows the position of the dragger.
Angle¶
- name: angle, type: Float, default: 1¶
Sets and shows the angle between the center and edge of beam.