| | |
| | | <el-slider :step="0.1" v-model="form.rainSize" :min="0" :max="1"></el-slider> |
| | | </el-form-item> |
| | | <el-form-item label="密度:"> |
| | | <el-slider :step="10" :min="10" :max="200" v-model="form.rainDensity"> |
| | | <el-slider :step="10" :min="10" :max="100" v-model="form.rainDensity"> |
| | | </el-slider> |
| | | </el-form-item> |
| | | <el-form-item label="速度"> |
| | |
| | | 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) { |