Skip to content

Commit 1759a5d

Browse files
committed
createRain解决无法创建雨特效bug
1 parent d5759d5 commit 1759a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cesiumjs/manager/AdvancedAnalysisManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ export default class AdvancedAnalysisManager {
376376
createRain(options) {
377377
const optionsParam = Cesium.defaultValue(options, {});
378378
const collection = this.viewer.scene.postProcessStages;
379-
const rain = Cesium.PostProcessStageLibrary.createRainStage();
379+
const rain = Cesium.PostProcessStageLibrary.createRainStage(optionsParam);
380380
collection.add(rain);
381381
this.scene.skyAtmosphere.hueShift = Cesium.defaultValue(optionsParam.hueShift, -0.8);
382382
this.scene.skyAtmosphere.saturationShift = Cesium.defaultValue(optionsParam.saturationShift, -0.7);

0 commit comments

Comments
 (0)