SoTranslate2Dragger¶
-
InventorModule
¶ genre InventorDraggers
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
SoTranslate2Dragger
is a simple dragger that translates in two dimensions when dragged with the mouse. It moves within the x-y plane of its local space, determined by its position in the scene graph. Transformation nodes placed before it will affect both the dragger and the direction of motion.
Pressing the Shift key allows you to constrain motion to either the x-axis or the y-axis. The direction is determined by your initial mouse gesture after pressing the key. Releasing the key removes the constraint.
This node has a translation field that always reflects its position in local space. If you set this field, the dragger will move accordingly. You can also connect fields of other nodes or engines to this one to make them follow the dragger’s motion.