Scripting Interface |
The Controller JavaScript object. This object is available in Master Controller callback functions. More...
Properties | |
String | name |
The object type "__master_controller_object__". More... | |
String | node |
The node path to the Master Controller node ex: "Top/MyMasterController". More... | |
QScriptValue | controls |
The script widget array. More... | |
QScriptValue | data |
Controller callback functions | |
QScriptValue | onShowControl |
Called when the user shows the Master Controller node controls. More... | |
QScriptValue | onHideControl |
Called when the user hides the Master Controller node controls. More... | |
QScriptValue | onFrameChanged |
Called when the current frame of the application changes. More... | |
The Controller JavaScript object. This object is available in Master Controller callback functions.
Controller is created and added to the scripting environment of the master controller and allows the script running in that context to do a variety of tasks, such as:
The Controller object is only available in its callback functions like onShowControl or onFrameChanged. However, it is possible to store a reference to it in the global scope of the Master Controller script.
|
readwrite |
The script widget array.
|
readwrite |
|
read |
The object type "__master_controller_object__".
|
read |
The node path to the Master Controller node ex: "Top/MyMasterController".
|
readwrite |
Called when the current frame of the application changes.
|
readwrite |
Called when the user hides the Master Controller node controls.
|
readwrite |
Called when the user shows the Master Controller node controls.