Properties

new VariableCollection(options)

Parameter

Name Type Optional Description

options

 

 

  • Options.
Extends
module:meteoJS/base/unique.Unique
Fires
module:meteoJS/modelviewer/variableCollection#add:variable
module:meteoJS/modelviewer/variableCollection#remove:variable

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

module:meteoJS/modelviewer/variable.Variable Variable.

setId()