SoSpotLightDragger

InventorModule
genre InventorDraggers
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def

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

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Angle: Float
enable: Bool
Is Active: Bool
Rotation: Rotation
Translation: Vector3

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.

Hidden Fields

enable

name: enable, type: Bool, default: TRUE