class static
meteoJS/modelviewer/variableCollection . VariableCollection
Source: modelviewer/
A collection of Variable-objects. It also defines a hierarchy of the collections. So a VariableCollection could have children and parents. A variable object can only belong to one collection.
Methods
new VariableCollection(options)
Parameter
Name | Type | Optional | Description |
---|---|---|---|
options |
|
|
|
Properties
id unknown
Id.
- Inherited from
- module:meteoJS/base/unique.Unique#id
node (undefined or module:meteoJS/modelviewer/node.Node)
If defined, this VariableCollection belongs to this node.
variables Array of module:meteoJS/modelviewer/variable.Variable
Variables contained by this collection.
Methods
getVariableById(id) → module:meteoJS/modelviewer/variable.Variable
Alias of getItemById.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
id |
mixed |
|
ID. |
- Returns