File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -366,14 +366,6 @@ export default class AdvancedAnalysisManager {
366366 * 创建下雨特效
367367 * @function module:客户端可视化分析.AdvancedAnalysisManager.prototype.createRain
368368 * @param {Object } options 下雨特效参数
369- * @param {Matrix4 } options.viewInverseMatrix 场景视图逆矩阵viewer.camera._invViewMatrix
370- * @param {Matrix4 } options.modelMatrix 模型转换矩阵
371- * @param {Array<Cartesian3> } options.positionArray 限定模型下雨范围
372- * @param {Number } [options.alpha] 雨丝透明度
373- * @param {Number } [options.angle] 雨丝倾斜角度
374- * @param {Number } [options.speed] 雨丝速度
375- * @param {Number } [options.rainLength] 雨丝附加长度
376- * @param {Number } [options.factor] 雨丝与场景混合度
377369 * @param {Number } [options.hueShift] 色调
378370 * @param {Number } [options.saturationShift] 饱和度
379371 * @param {Number } [options.brightnessShift] 亮度
@@ -384,7 +376,7 @@ export default class AdvancedAnalysisManager {
384376 createRain ( options ) {
385377 const optionsParam = Cesium . defaultValue ( options , { } ) ;
386378 const collection = this . viewer . scene . postProcessStages ;
387- const rain = Cesium . PostProcessStageLibrary . createRainStage ( optionsParam ) ;
379+ const rain = Cesium . PostProcessStageLibrary . createRainStage ( ) ;
388380 collection . add ( rain ) ;
389381 this . scene . skyAtmosphere . hueShift = Cesium . defaultValue ( optionsParam . hueShift , - 0.8 ) ;
390382 this . scene . skyAtmosphere . saturationShift = Cesium . defaultValue ( optionsParam . saturationShift , - 0.7 ) ;
You can’t perform that action at this time.
0 commit comments