| | |
| | | this.tiltAngle = Cesium.defaultValue(options.tiltAngle, -0.6); |
| | | this.rainSize = Cesium.defaultValue(options.rainSize, 0.3); |
| | | this.rainSpeed = Cesium.defaultValue(options.rainSpeed, 60.0); |
| | | this.rainDensity = Cesium.defaultValue(options.rainSpeed, 30.0); |
| | | this.rainDensity = Cesium.defaultValue(options.rainDensity, 30.0); |
| | | this.color = Cesium.defaultValue(options.color, new Cesium.Color(0.6, 0.7, 0.8, 1.0)); |
| | | this.viewer = viewer; |
| | | this.init(); |
| | |
| | | delete this.tiltAngle; |
| | | delete this.rainSize; |
| | | delete this.rainSpeed; |
| | | delete this.rainDensity; |
| | | } |
| | | |
| | | show(visible) { |