Summary
Methods:
addMathCell |
添加雨要素 |
removeAll |
清空雨特效model中的雨要素 |
removeMathCellById |
根据该数学模型组成元素的唯一标识符,将对应的元素从数学模型中移除 |
Constructor
new RainModel(options)
构造函数
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | 选项
|
Methods
-
addMathCell(rain)
-
添加雨要素
Parameters:
Name Type Description rain
module:geosolution/cell~Rain 雨要素
Example
rainModel.addMathCell(rain);
-
removeAll()
-
清空雨特效model中的雨要素
Example
fillWaterModel.removeAll()
-
removeMathCellById(id)
-
根据该数学模型组成元素的唯一标识符,将对应的元素从数学模型中移除
Parameters:
Name Type Description id
String 组成元素的唯一标识符