Scripting Interface |
Master Controller specific JavaScript objects and classes. Every object classes and global objects from the Script Editor node are available in the Master Controller. More...
Classes | |
class | CustomWidget |
The CustomWidget JavaScript class. A widget for which the attribute , drag_manipulator , painter , picker and local_transformation components are specified at the widget creation. More... | |
class | Line2dDisplayWidget |
The Line2dDisplayWidget JavaScript class. A 2 dimensional line linking 2 points. More... | |
class | DragContext |
The JavaScript class for converting position from one coordinate system to another. Obtain it as a parameter to the WidgetBase drag signals. More... | |
class | Point2dWidget |
The Point2dWidget JavaScript class. A 2 dimensional point widget of various shape. More... | |
class | Rotation3dWidget |
The Rotation3dWidget JavaScript class. A rotatable spherical widget. More... | |
class | RotationXWidget |
The RotationXWidget JavaScript class. A rotatable circle widget around the x axis. More... | |
class | RotationYWidget |
The RotationYWidget JavaScript class. A rotatable circle widget around the y axis. More... | |
class | RotationZWidget |
The RotationZWidget JavaScript class. A rotatable circle widget around the z axis. More... | |
class | SliderWidget |
The SliderWidget JavaScript class. A vertical or horizontal slider. More... | |
class | TranslationXWidget |
The TranslationXWidget JavaScript class. A translatable arrow in the x axis. More... | |
class | TranslationYWidget |
The TranslationYWidget JavaScript class. A translatable arrow in the y axis. More... | |
class | TranslationZWidget |
The TranslationZWidget JavaScript class. A translatable arrow in the z axis. More... | |
class | Controller |
The Controller JavaScript object. This object is available in Master Controller callback functions. More... | |
class | WidgetBase |
Base class of the script widget classes. More... | |
Master Controller specific JavaScript objects and classes. Every object classes and global objects from the Script Editor node are available in the Master Controller.
The Master Controller node loads a JavaScript script that create custom visual widgets in the Camera view (and other OpenGL views). The widgets can be manipulated by the Transform tool. The widgets send signal when they are manipulated and the user can write callback functions that connect to those signals. Use the callback functions to implement a custom behaviour for the widget like moving a Peg, switching a character pose or deform a set of curve positions.