The JavaScript class to get information about nodes. Obtain it from the Context global object. More...
Public Slots | |
Ports | |
InputPort | input (int idx=0) |
retrieve specific input port More... | |
Attributes | |
Attribute | attribute (const String &name) |
Retrieve attribute of specific name in current module. More... | |
Attribute | attribute (const String &name, const QVariant &defAttr) |
Retrieve attribute of specific name in current module. More... | |
Attribute | attribute (const String &name, QObject defAttr) |
Retrieve attribute of specific name in current module. More... | |
Properties | |
int | nInputs |
Number of inputs. More... | |
String | type |
Type name of current module. More... | |
String | name |
Name of current module. More... | |
int | id |
Id of current module. More... | |
The JavaScript class to get information about nodes. Obtain it from the Context global object.
Refers to a specific module linked in the current rendering context. If a module exports its attributes, it is possible to fetch them using methods from this class. Modules can be accessed through the Context.
|
slot |
Retrieve attribute of specific name in current module.
name | Name of attribute |
|
slot |
|
slot |
|
slot |
|
read |
Id of current module.
|
read |
Name of current module.
|
read |
Number of inputs.
|
read |
Type name of current module.