@mapgis/webclient-cesium-plugin 17.8.0 → 17.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +280 -474
- package/dist/esm/commonjsHelpers.js +1 -0
- package/dist/esm/s3m.js +1 -0
- package/dist/esm/webclient-cesium-plugin.js +1 -0
- package/dist/umd/webclient-cesium-plugin.min.js +1 -0
- package/{documention → documentation}/AlgorithmLib.html +169 -149
- package/{documention → documentation}/AngulationTool.html +85 -51
- package/{documention → documentation}/AnimationTool.html +30 -30
- package/{documention → documentation}/ArcGISMapServerImageryProvider.html +9 -13
- package/{documention → documentation}/ArcGISMapServerSingleImageryProvider.html +90 -30
- package/{documention → documentation}/ArcGISTileServerImageryProvider.html +17 -17
- package/{documention → documentation}/ArcGISVectorTileImageryProvider.html +21 -8
- package/{documention → documentation}/BaseImageryProvider.html +2 -2
- package/{documention → documentation}/Cesium.Material.html +2 -2
- package/{documention → documentation}/Cesium.Viewer.html +5 -5
- package/{documention → documentation}/Cesium3DTileset.html +43 -25
- package/{documention → documentation}/CesiumHeatmap.html +22 -19
- package/{documention/S3MTileset.html → documentation/CesiumNavigation.html} +52 -85
- package/{documention → documentation}/CesiumTerrainProvider.html +55 -15
- package/{documention/OpenWeatherImageryProvider.html → documentation/CircleWaveMaterialProperty.html} +75 -95
- package/{documention → documentation}/CollisionDetectionByRender.html +245 -88
- package/{documention → documentation}/CompatibleFunc.html +24 -33
- package/{documention → documentation}/CustomPrimitive.html +3 -5
- package/{documention → documentation}/CustomProjection.html +3 -3
- package/{documention → documentation}/CustomTilingScheme.html +35 -36
- package/{documention → documentation}/CutFillAnalysis.html +59 -27
- package/{documention → documentation}/CuttingTool.html +198 -103
- package/{documention → documentation}/Deferred.html +2 -2
- package/{documention → documentation}/DrawElement.html +418 -34
- package/{documention → documentation}/DrawTool.html +81 -29
- package/documentation/EditTool.html +2819 -0
- package/{documention → documentation}/FirstPersonPerspective.html +18 -10
- package/{documention → documentation}/FloodAnalysis.html +93 -23
- package/{documention → documentation}/FloodAnalysisReflection.html +18 -44
- package/documentation/FlowParticle.html +863 -0
- package/{documention → documentation}/Fluid.html +473 -74
- package/{documention → documentation}/FluidFoam.html +36 -16
- package/{documention → documentation}/FluidReflection.html +68 -15
- package/{documention → documentation}/FluidShadow.html +67 -14
- package/{documention → documentation}/FluidSourceCollection.html +14 -7
- package/{documention → documentation}/FluidSpecular.html +33 -14
- package/documentation/FluidSurfaceDistortion.html +682 -0
- package/documentation/FluidSurfaceFoam.html +1006 -0
- package/{documention → documentation}/FollowPerspective.html +15 -7
- package/{documention → documentation}/GeoJSONLayerUtil.html +38 -10
- package/documentation/GeoJSONLayerView.html +1353 -0
- package/{documention → documentation}/GlobeIndependentTranslucency.html +89 -6
- package/{documention → documentation}/GodPerspective.html +14 -6
- package/{documention → documentation}/Graphic.html +1053 -1042
- package/{documention → documentation}/GraphicTransformTool.html +65 -23
- package/{documention → documentation}/GraphicsLayer.html +359 -156
- package/{documention → documentation}/GraphicsLayerUtil.html +28 -10
- package/documentation/GraphicsLayerView.html +759 -0
- package/{documention/EditTool.html → documentation/HashMap.html} +253 -418
- package/{documention → documentation}/HeightLimited.html +54 -21
- package/documentation/IGSFeatureLayerUtil.html +840 -0
- package/documentation/IGSFeatureLayerView.html +1348 -0
- package/documentation/IGSMapImageLayerUtil.html +855 -0
- package/{documention/IGSFeatureLayerUtil.html → documentation/IGSMapImageLayerView.html} +68 -46
- package/documentation/IGSTileLayerView.html +658 -0
- package/{documention → documentation}/ISSceneLayerUtil.html +3 -3
- package/{documention → documentation}/KeyboardCameraController.html +54 -6
- package/documentation/LightningStorm.html +2073 -0
- package/documentation/MapGISClusterPrimitiveCollection.html +1050 -0
- package/{documention → documentation}/MapGISDynamicLabelCollection.html +370 -178
- package/{documention → documentation}/MapGISFeatureGridCollection.html +123 -89
- package/{documention → documentation}/MapGISImageServerImageryProvider.html +93 -71
- package/{documention → documentation}/MapGISImageServerSingleImageryProvider.html +140 -92
- package/{documention → documentation}/MapGISM3DSet.html +49 -33
- package/{documention → documentation}/MapGISMapServerImageryProvider.html +78 -87
- package/{documention → documentation}/MapGISMapServerSingleImageryProvider.html +111 -43
- package/{documention → documentation}/MapGISTerrainProvider.html +268 -208
- package/{documention → documentation}/MapGISTerrainService.html +124 -82
- package/{documention → documentation}/MapGISTileAvailability.html +104 -47
- package/{documention → documentation}/MapGISTileServerImageryProvider.html +76 -83
- package/{documention → documentation}/MapGISVectorTileImageryProvider.html +135 -115
- package/{documention → documentation}/MeasureAreaTool.html +53 -14
- package/{documention → documentation}/MeasureLengthTool.html +17 -14
- package/{documention → documentation}/MeasureSlopeTool.html +73 -34
- package/{documention/FlowParticle.html → documentation/ModelEditor.html} +132 -116
- package/{documention → documentation}/ModelFilterTool.html +27 -32
- package/{documention → documentation}/ModelTransformTool.html +195 -110
- package/{documention → documentation}/NavigationControl.html +25 -5
- package/{documention → documentation}/NavigationTool.html +36 -14
- package/{documention → documentation}/NormalPerspective.html +33 -7
- package/documentation/OpenWeatherImageryProvider.html +1133 -0
- package/{documention → documentation}/PointFluidSource.html +22 -13
- package/{documention → documentation}/PolylineTrailLinkMaterialProperty.html +104 -20
- package/{documention → documentation}/Popup.html +246 -63
- package/{documention/CesiumNavigation.html → documentation/PostProcessShaderBuilder.html} +10 -54
- package/{documention → documentation}/PostProcessStageLibrary.html +3127 -121
- package/{documention → documentation}/Promise.html +6 -6
- package/{documention → documentation}/ProviderBaseUrlRegExp.html +20 -4
- package/{documention → documentation}/Puddle.html +30 -9
- package/{documention → documentation}/RadarMaterialProperty.html +73 -18
- package/{documention → documentation}/ReImg.html +164 -15
- package/{documention → documentation}/RenderUtil.html +158 -6
- package/{documention → documentation}/ResetViewNavigationControl.html +28 -8
- package/{documention → documentation}/RiverGeometry.html +7 -7
- package/{documention → documentation}/RoamParticle.html +86 -79
- package/{documention → documentation}/RouteAnimationControl.html +37 -15
- package/{documention → documentation}/RouteAnimationLabel.html +39 -12
- package/{documention → documentation}/RouteAnimationModel.html +43 -16
- package/{documention → documentation}/RouteAnimationPath.html +156 -18
- package/{documention → documentation}/RouteAnimationPerspective.html +12 -3
- package/{documention → documentation}/RouteAnimationTool.html +244 -24
- package/documentation/S3MTileset.html +570 -0
- package/{documention → documentation}/SSR.html +20 -39
- package/{documention → documentation}/SceneView.html +615 -419
- package/documentation/SceneViewUtil.html +1253 -0
- package/documentation/Screenshot.html +964 -0
- package/{documention → documentation}/SelectTool.html +31 -77
- package/{documention → documentation}/ShadowRateAnalysis.html +236 -54
- package/{documention → documentation}/ShadowRateDrawCommand.html +18 -6
- package/{documention → documentation}/SingleImageryProvider.html +32 -10
- package/{documention → documentation}/SketchEditor.html +280 -127
- package/documentation/SkyLineAnalysis.html +576 -0
- package/{documention → documentation}/StableParticle.html +165 -46
- package/{documention → documentation}/Style.html +249 -249
- package/{documention → documentation}/TerrainAnalyse.html +391 -105
- package/{documention → documentation}/TerrainExcavateTool.html +99 -3
- package/{documention → documentation}/TerrainProfile.html +198 -56
- package/{documention → documentation}/ThemeManager.html +92 -41
- package/{documention → documentation}/Tooltip.html +35 -18
- package/documentation/TransformTool.html +1010 -0
- package/{documention → documentation}/TriangulationTool.html +122 -83
- package/documentation/UnderfluidCaustic.html +843 -0
- package/documentation/UnderfluidDistortion.html +600 -0
- package/documentation/UnderfluidFog.html +843 -0
- package/documentation/UnderfluidGodRay.html +843 -0
- package/documentation/UnderwaterCaustic.html +867 -0
- package/documentation/UnderwaterDistortion.html +578 -0
- package/documentation/UnderwaterFog.html +867 -0
- package/documentation/UnderwaterGodRay.html +821 -0
- package/{documention → documentation}/UrlTemplateImageryProvider.html +21 -9
- package/{documention → documentation}/UserInterfaceControl.html +28 -9
- package/documentation/VectorTileLayerUtil.html +1364 -0
- package/{documention → documentation}/VisiblityAnalysis.html +15 -12
- package/{documention → documentation}/VolumeCloud.html +113 -21
- package/{documention → documentation}/VolumeFluidSource.html +24 -8
- package/{documention → documentation}/WFSLayerUtil.html +39 -10
- package/documentation/WFSLayerView.html +1353 -0
- package/documentation/WMSLayerUtil.html +879 -0
- package/documentation/WMTSLayerUtil.html +877 -0
- package/documentation/WaterDepth.html +583 -0
- package/{documention → documentation}/WaterReflection.html +29 -26
- package/documentation/WaterSurface.html +2555 -0
- package/{documention/Underwater.html → documentation/WaterSurfaceDistortion.html} +79 -81
- package/documentation/WaterSurfaceFoam.html +1029 -0
- package/documentation/WaterSurfaceSSR.html +867 -0
- package/{documention → documentation}/WebMapServiceImageryProvider.html +8 -12
- package/{documention → documentation}/WebMapServiceSingleImageryProvider.html +94 -32
- package/{documention → documentation}/WebMapTileServiceImageryProvider.html +10 -15
- package/documentation/WebTileLayerUtil.html +877 -0
- package/{documention → documentation}/Wind3D.html +133 -54
- package/{documention → documentation}/ZoomNavigationControl.html +145 -9
- package/documentation/fonts/glyphicons-halflings-regular.svg +543 -0
- package/{documention → documentation}/global.html +14130 -2719
- package/{documention → documentation}/index.html +1 -1
- package/{documention → documentation}/initializeOptions.html +2 -2
- package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +96 -95
- package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +47 -46
- package/{documention → documentation}/module.exports_module.exports.html +2 -2
- package/{documention → documentation}/nav.html +3267 -1392
- package/documentation/nav.json +320 -0
- package/documentation/styles/adminlte/AdminLTE.min.css +4966 -0
- package/documentation/styles/adminlte/skin-blue.min.css +135 -0
- package/documentation/styles/bootstrap.min.css +7005 -0
- package/documentation/styles/common.css +173 -0
- package/documentation/styles/examples.css +119 -0
- package/{documention → documentation}/styles/font-awesome.css +692 -687
- package/documentation/styles/header.css +558 -0
- package/documentation/styles/jaguar.css +551 -0
- package/{documention → documentation}/styles/prettify-tomorrow.css +59 -28
- package/{documention → documentation}/styles/style.customize.css +83 -99
- package/package.json +42 -22
- package/dist/es5/webclient-cesium-plugin.min.js +0 -77
- package/dist/es5/webclient-common.min.js +0 -159
- package/dist/webclient-cesium-plugin-es6.min.js +0 -77
- package/documention/CircleWaveMaterialProperty.html +0 -382
- package/documention/DynamicEntityVisualizer.html +0 -348
- package/documention/DynamicLabelLayer.html +0 -1841
- package/documention/GroundPrimitiveLayer.html +0 -1675
- package/documention/HashMap.html +0 -4197
- package/documention/ModelEditor.html +0 -374
- package/documention/SceneViewCesium.html +0 -5544
- package/documention/Screenshot.html +0 -773
- package/documention/SketchEditorCesium.html +0 -1571
- package/documention/createColorTexture.html +0 -369
- package/documention/fonts/glyphicons-halflings-regular.svg +0 -288
- package/documention/isCounterClockwise.html +0 -760
- package/documention/scripts/app.min.js +0 -1
- package/documention/scripts/jquery.min.map +0 -1
- package/documention/scripts/search.js +0 -20
- package/documention/scripts/sideBar.js +0 -228
- package/documention/scripts/underscore-min.map +0 -1
- package/documention/styles/adminlte/AdminLTE.min.css +0 -7
- package/documention/styles/adminlte/skin-blue.min.css +0 -1
- package/documention/styles/anchor.png +0 -0
- package/documention/styles/app.min.css +0 -1
- package/documention/styles/bootstrap.min.css +0 -6
- package/documention/styles/c.png +0 -0
- package/documention/styles/common.css +0 -175
- package/documention/styles/examples.css +0 -116
- package/documention/styles/header.css +0 -556
- package/documention/styles/iframe.css +0 -29
- package/documention/styles/jaguar.css +0 -553
- package/documention/styles/m.png +0 -0
- package/documention/styles/reset.css +0 -44
- package/documention/styles/up-arrow.png +0 -0
- package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +0 -162
- /package/{documention → documentation}/fonts/fontawesome-webfont.woff2 +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.eot +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.ttf +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff2 +0 -0
- /package/{documention → documentation}/scripts/adminlte/app.min.js +0 -0
- /package/{documention → documentation}/scripts/bootstrap.min.js +0 -0
- /package/{documention → documentation}/scripts/jquery.min.js +0 -0
- /package/{documention → documentation}/scripts/linenumber.js +0 -0
- /package/{documention → documentation}/scripts/main.js +0 -0
- /package/{documention → documentation}/scripts/prettify/Apache-License-2.0.txt +0 -0
- /package/{documention → documentation}/scripts/prettify/lang-css.js +0 -0
- /package/{documention → documentation}/scripts/prettify/prettify.js +0 -0
- /package/{documention → documentation}/scripts/underscore-min.js +0 -0
- /package/{documention → documentation}/styles/adminlte/font-awesome.min.css +0 -0
- /package/{documention → documentation}/styles/prettify-jsdoc.css +0 -0
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<div class="nameContainer">
|
|
84
84
|
<h4 class="name" id="FluidFoam">
|
|
85
85
|
|
|
86
|
-
new FluidFoam<span class="signature">(options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
|
|
86
|
+
new FluidFoam<span class="signature">(<span class="optional">options</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
|
|
87
87
|
</h4>
|
|
88
88
|
|
|
89
89
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p
|
|
102
|
+
<p>流体白浪效果配置对象。</p>
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
|
|
@@ -146,7 +146,14 @@
|
|
|
146
146
|
|
|
147
147
|
<td class="description last">
|
|
148
148
|
|
|
149
|
-
|
|
149
|
+
|
|
150
|
+
<span class="optional"> 可选</span>
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
<p>创建流体白浪效果配置对象的参数。</p>
|
|
150
157
|
|
|
151
158
|
|
|
152
159
|
<table class="params">
|
|
@@ -200,7 +207,7 @@
|
|
|
200
207
|
|
|
201
208
|
|
|
202
209
|
|
|
203
|
-
<p
|
|
210
|
+
<p>是否显示流体白浪。</p></td>
|
|
204
211
|
</tr>
|
|
205
212
|
|
|
206
213
|
|
|
@@ -236,7 +243,7 @@
|
|
|
236
243
|
|
|
237
244
|
|
|
238
245
|
|
|
239
|
-
<p
|
|
246
|
+
<p>白浪密度;值越大单位面积内的白浪数量越多。</p></td>
|
|
240
247
|
</tr>
|
|
241
248
|
|
|
242
249
|
|
|
@@ -272,7 +279,7 @@
|
|
|
272
279
|
|
|
273
280
|
|
|
274
281
|
|
|
275
|
-
<p
|
|
282
|
+
<p>白浪大小;值越大浪花越大。</p></td>
|
|
276
283
|
</tr>
|
|
277
284
|
|
|
278
285
|
|
|
@@ -308,7 +315,7 @@
|
|
|
308
315
|
|
|
309
316
|
|
|
310
317
|
|
|
311
|
-
<p
|
|
318
|
+
<p>白浪强度;值越大白浪覆盖面积越大。</p></td>
|
|
312
319
|
</tr>
|
|
313
320
|
|
|
314
321
|
|
|
@@ -344,7 +351,7 @@
|
|
|
344
351
|
|
|
345
352
|
|
|
346
353
|
|
|
347
|
-
<p
|
|
354
|
+
<p>浪花颜色。</p></td>
|
|
348
355
|
</tr>
|
|
349
356
|
|
|
350
357
|
|
|
@@ -415,7 +422,7 @@
|
|
|
415
422
|
|
|
416
423
|
|
|
417
424
|
</td>
|
|
418
|
-
<td class="description last"
|
|
425
|
+
<td class="description last">返回流体白浪效果配置对象实例。</td>
|
|
419
426
|
</tr>
|
|
420
427
|
|
|
421
428
|
</tbody>
|
|
@@ -430,7 +437,20 @@
|
|
|
430
437
|
|
|
431
438
|
|
|
432
439
|
|
|
433
|
-
<pre class="prettyprint"><code>// ES5引入方式
|
|
434
440
|
show: false,
|
|
435
441
|
density: 5,
|
|
436
442
|
size: 3,
|
|
437
443
|
intensity: 2,
|
|
438
444
|
color: Cesium.Color.YELLOW
|
|
445
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
446
|
+
const { FluidFoam } = zondy.cesium
|
|
447
|
+
|
|
448
|
+
// ES6引入方式
|
|
449
|
+
import { FluidFoam } from "@mapgis/webclient-cesium-plugin"
|
|
450
|
+
|
|
451
|
+
// 创建流体白浪对象
|
|
452
|
+
const fluidFoam = new FluidFoam({
|
|
453
|
+
show: false,
|
|
454
|
+
density: 5,
|
|
455
|
+
size: 3,
|
|
456
|
+
intensity: 2,
|
|
457
|
+
color: Cesium.Color.YELLOW
|
|
458
|
+
})</code></pre>
|
|
439
459
|
|
|
440
460
|
|
|
441
461
|
|
|
@@ -464,7 +484,7 @@
|
|
|
464
484
|
<dd>
|
|
465
485
|
|
|
466
486
|
<div class="description">
|
|
467
|
-
<p
|
|
487
|
+
<p>获取或设置白浪颜色。</p>
|
|
468
488
|
</div>
|
|
469
489
|
|
|
470
490
|
|
|
@@ -509,7 +529,7 @@
|
|
|
509
529
|
<dd>
|
|
510
530
|
|
|
511
531
|
<div class="description">
|
|
512
|
-
<p
|
|
532
|
+
<p>获取或设置白浪密度。</p>
|
|
513
533
|
</div>
|
|
514
534
|
|
|
515
535
|
|
|
@@ -554,7 +574,7 @@
|
|
|
554
574
|
<dd>
|
|
555
575
|
|
|
556
576
|
<div class="description">
|
|
557
|
-
<p
|
|
577
|
+
<p>获取或设置白浪强度。</p>
|
|
558
578
|
</div>
|
|
559
579
|
|
|
560
580
|
|
|
@@ -599,7 +619,7 @@
|
|
|
599
619
|
<dd>
|
|
600
620
|
|
|
601
621
|
<div class="description">
|
|
602
|
-
<p
|
|
622
|
+
<p>获取或设置白浪效果的显隐状态。</p>
|
|
603
623
|
</div>
|
|
604
624
|
|
|
605
625
|
|
|
@@ -644,7 +664,7 @@
|
|
|
644
664
|
<dd>
|
|
645
665
|
|
|
646
666
|
<div class="description">
|
|
647
|
-
<p
|
|
667
|
+
<p>获取或设置白浪大小。</p>
|
|
648
668
|
</div>
|
|
649
669
|
|
|
650
670
|
|
|
@@ -695,7 +715,7 @@
|
|
|
695
715
|
|
|
696
716
|
|
|
697
717
|
<footer>
|
|
698
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
718
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
699
719
|
</footer>
|
|
700
720
|
</div>
|
|
701
721
|
</div>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<div class="nameContainer">
|
|
84
84
|
<h4 class="name" id="FluidReflection">
|
|
85
85
|
|
|
86
|
-
new FluidReflection<span class="signature">(options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
|
|
86
|
+
new FluidReflection<span class="signature">(<span class="optional">options</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
|
|
87
87
|
</h4>
|
|
88
88
|
|
|
89
89
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p
|
|
102
|
+
<p>流体屏幕空间反射效果对象。</p>
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
|
|
@@ -146,7 +146,14 @@
|
|
|
146
146
|
|
|
147
147
|
<td class="description last">
|
|
148
148
|
|
|
149
|
-
|
|
149
|
+
|
|
150
|
+
<span class="optional"> 可选</span>
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
<p>创建流体反射效果对象的参数。</p>
|
|
150
157
|
|
|
151
158
|
|
|
152
159
|
<table class="params">
|
|
@@ -169,6 +176,40 @@
|
|
|
169
176
|
<tbody>
|
|
170
177
|
|
|
171
178
|
|
|
179
|
+
<tr>
|
|
180
|
+
|
|
181
|
+
<td class="name"><code>fluid</code></td>
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
<td class="type">
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<span class="param-type"><a href="Fluid.html">Fluid</a></span>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
</td>
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
<td class="default">
|
|
195
|
+
|
|
196
|
+
</td>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
<td class="description last">
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
<span class="optional"> 可选</span>
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
<p>关联的流体模拟对象;初始化时会由 <code>Fluid</code> 自动注入。</p></td>
|
|
209
|
+
</tr>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
172
213
|
<tr>
|
|
173
214
|
|
|
174
215
|
<td class="name"><code>show</code></td>
|
|
@@ -186,7 +227,7 @@
|
|
|
186
227
|
|
|
187
228
|
<td class="default">
|
|
188
229
|
|
|
189
|
-
|
|
230
|
+
false
|
|
190
231
|
|
|
191
232
|
</td>
|
|
192
233
|
|
|
@@ -200,7 +241,7 @@
|
|
|
200
241
|
|
|
201
242
|
|
|
202
243
|
|
|
203
|
-
<p
|
|
244
|
+
<p>是否显示流体反射。</p></td>
|
|
204
245
|
</tr>
|
|
205
246
|
|
|
206
247
|
|
|
@@ -236,7 +277,7 @@
|
|
|
236
277
|
|
|
237
278
|
|
|
238
279
|
|
|
239
|
-
<p
|
|
280
|
+
<p>反射透明度;取值范围为 <code>[0, 1]</code>。</p></td>
|
|
240
281
|
</tr>
|
|
241
282
|
|
|
242
283
|
|
|
@@ -272,7 +313,7 @@
|
|
|
272
313
|
|
|
273
314
|
|
|
274
315
|
|
|
275
|
-
<p
|
|
316
|
+
<p>反射的最大可见距离。</p></td>
|
|
276
317
|
</tr>
|
|
277
318
|
|
|
278
319
|
|
|
@@ -308,7 +349,7 @@
|
|
|
308
349
|
|
|
309
350
|
|
|
310
351
|
|
|
311
|
-
<p
|
|
352
|
+
<p>反射厚度容差。</p></td>
|
|
312
353
|
</tr>
|
|
313
354
|
|
|
314
355
|
|
|
@@ -379,7 +420,7 @@
|
|
|
379
420
|
|
|
380
421
|
|
|
381
422
|
</td>
|
|
382
|
-
<td class="description last"
|
|
423
|
+
<td class="description last">返回流体反射效果对象实例。</td>
|
|
383
424
|
</tr>
|
|
384
425
|
|
|
385
426
|
</tbody>
|
|
@@ -394,7 +435,19 @@
|
|
|
394
435
|
|
|
395
436
|
|
|
396
437
|
|
|
397
|
-
<pre class="prettyprint"><code>// ES5引入方式
|
|
398
438
|
show: false,
|
|
399
439
|
opacity: 1,
|
|
400
440
|
maxDistance: 10000,
|
|
401
441
|
thickness: 2,
|
|
442
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
443
|
+
const { FluidReflection } = zondy.cesium
|
|
444
|
+
|
|
445
|
+
// ES6引入方式
|
|
446
|
+
import { FluidReflection } from "@mapgis/webclient-cesium-plugin"
|
|
447
|
+
|
|
448
|
+
// 创建流体反射对象
|
|
449
|
+
const fluidReflection = new FluidReflection({
|
|
450
|
+
show: false,
|
|
451
|
+
opacity: 1,
|
|
452
|
+
maxDistance: 10000,
|
|
453
|
+
thickness: 2,
|
|
454
|
+
})</code></pre>
|
|
402
455
|
|
|
403
456
|
|
|
404
457
|
|
|
@@ -428,7 +481,7 @@
|
|
|
428
481
|
<dd>
|
|
429
482
|
|
|
430
483
|
<div class="description">
|
|
431
|
-
<p
|
|
484
|
+
<p>获取或设置流体反射的最大可见距离。</p>
|
|
432
485
|
</div>
|
|
433
486
|
|
|
434
487
|
|
|
@@ -473,7 +526,7 @@
|
|
|
473
526
|
<dd>
|
|
474
527
|
|
|
475
528
|
<div class="description">
|
|
476
|
-
<p
|
|
529
|
+
<p>获取或设置流体反射透明度。</p>
|
|
477
530
|
</div>
|
|
478
531
|
|
|
479
532
|
|
|
@@ -518,7 +571,7 @@
|
|
|
518
571
|
<dd>
|
|
519
572
|
|
|
520
573
|
<div class="description">
|
|
521
|
-
<p
|
|
574
|
+
<p>获取或设置流体反射效果的显隐状态。</p>
|
|
522
575
|
</div>
|
|
523
576
|
|
|
524
577
|
|
|
@@ -563,7 +616,7 @@
|
|
|
563
616
|
<dd>
|
|
564
617
|
|
|
565
618
|
<div class="description">
|
|
566
|
-
<p
|
|
619
|
+
<p>获取或设置流体反射厚度容差。</p>
|
|
567
620
|
</div>
|
|
568
621
|
|
|
569
622
|
|
|
@@ -614,7 +667,7 @@
|
|
|
614
667
|
|
|
615
668
|
|
|
616
669
|
<footer>
|
|
617
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
670
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
618
671
|
</footer>
|
|
619
672
|
</div>
|
|
620
673
|
</div>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<div class="nameContainer">
|
|
84
84
|
<h4 class="name" id="FluidShadow">
|
|
85
85
|
|
|
86
|
-
new FluidShadow<span class="signature">(options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
|
|
86
|
+
new FluidShadow<span class="signature">(<span class="optional">options</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
|
|
87
87
|
</h4>
|
|
88
88
|
|
|
89
89
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p
|
|
102
|
+
<p>流体阴影效果配置对象。</p>
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
|
|
@@ -146,7 +146,14 @@
|
|
|
146
146
|
|
|
147
147
|
<td class="description last">
|
|
148
148
|
|
|
149
|
-
|
|
149
|
+
|
|
150
|
+
<span class="optional"> 可选</span>
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
<p>创建流体阴影效果配置对象的参数。</p>
|
|
150
157
|
|
|
151
158
|
|
|
152
159
|
<table class="params">
|
|
@@ -169,6 +176,40 @@
|
|
|
169
176
|
<tbody>
|
|
170
177
|
|
|
171
178
|
|
|
179
|
+
<tr>
|
|
180
|
+
|
|
181
|
+
<td class="name"><code>fluid</code></td>
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
<td class="type">
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<span class="param-type"><a href="Fluid.html">Fluid</a></span>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
</td>
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
<td class="default">
|
|
195
|
+
|
|
196
|
+
</td>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
<td class="description last">
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
<span class="optional"> 可选</span>
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
<p>关联的流体模拟对象;初始化时会由 <code>Fluid</code> 自动注入。</p></td>
|
|
209
|
+
</tr>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
172
213
|
<tr>
|
|
173
214
|
|
|
174
215
|
<td class="name"><code>softShadows</code></td>
|
|
@@ -200,7 +241,7 @@
|
|
|
200
241
|
|
|
201
242
|
|
|
202
243
|
|
|
203
|
-
<p
|
|
244
|
+
<p>是否开启软阴影;开启后可缓解阴影边缘锯齿,但性能开销较大。</p></td>
|
|
204
245
|
</tr>
|
|
205
246
|
|
|
206
247
|
|
|
@@ -236,7 +277,7 @@
|
|
|
236
277
|
|
|
237
278
|
|
|
238
279
|
|
|
239
|
-
<p
|
|
280
|
+
<p>阴影明暗程度;取值范围为 <code>[0, 1]</code>。</p></td>
|
|
240
281
|
</tr>
|
|
241
282
|
|
|
242
283
|
|
|
@@ -272,7 +313,7 @@
|
|
|
272
313
|
|
|
273
314
|
|
|
274
315
|
|
|
275
|
-
<p
|
|
316
|
+
<p>阴影的最大可见距离。</p></td>
|
|
276
317
|
</tr>
|
|
277
318
|
|
|
278
319
|
|
|
@@ -308,7 +349,7 @@
|
|
|
308
349
|
|
|
309
350
|
|
|
310
351
|
|
|
311
|
-
<p
|
|
352
|
+
<p>阴影贴图尺寸;值越大阴影质量越高,但性能开销也越大。</p></td>
|
|
312
353
|
</tr>
|
|
313
354
|
|
|
314
355
|
|
|
@@ -379,7 +420,7 @@
|
|
|
379
420
|
|
|
380
421
|
|
|
381
422
|
</td>
|
|
382
|
-
<td class="description last"
|
|
423
|
+
<td class="description last">返回流体阴影效果配置对象实例。</td>
|
|
383
424
|
</tr>
|
|
384
425
|
|
|
385
426
|
</tbody>
|
|
@@ -394,7 +435,19 @@
|
|
|
394
435
|
|
|
395
436
|
|
|
396
437
|
|
|
397
|
-
<pre class="prettyprint"><code>// ES5引入方式
|
|
398
438
|
softShadows: true,
|
|
399
439
|
darkness: 0.3,
|
|
400
440
|
maximumDistance: 10000,
|
|
401
441
|
size: 2048,
|
|
442
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
443
|
+
const { FluidShadow } = zondy.cesium
|
|
444
|
+
|
|
445
|
+
// ES6引入方式
|
|
446
|
+
import { FluidShadow } from "@mapgis/webclient-cesium-plugin"
|
|
447
|
+
|
|
448
|
+
// 创建流体阴影对象
|
|
449
|
+
const fluidShadow = new FluidShadow({
|
|
450
|
+
softShadows: true,
|
|
451
|
+
darkness: 0.3,
|
|
452
|
+
maximumDistance: 10000,
|
|
453
|
+
size: 2048,
|
|
454
|
+
})</code></pre>
|
|
402
455
|
|
|
403
456
|
|
|
404
457
|
|
|
@@ -428,7 +481,7 @@
|
|
|
428
481
|
<dd>
|
|
429
482
|
|
|
430
483
|
<div class="description">
|
|
431
|
-
<p
|
|
484
|
+
<p>获取或设置阴影的明暗程度。</p>
|
|
432
485
|
</div>
|
|
433
486
|
|
|
434
487
|
|
|
@@ -473,7 +526,7 @@
|
|
|
473
526
|
<dd>
|
|
474
527
|
|
|
475
528
|
<div class="description">
|
|
476
|
-
<p
|
|
529
|
+
<p>获取或设置阴影贴图的最大可见距离。</p>
|
|
477
530
|
</div>
|
|
478
531
|
|
|
479
532
|
|
|
@@ -518,7 +571,7 @@
|
|
|
518
571
|
<dd>
|
|
519
572
|
|
|
520
573
|
<div class="description">
|
|
521
|
-
<p
|
|
574
|
+
<p>获取或设置阴影贴图尺寸。</p>
|
|
522
575
|
</div>
|
|
523
576
|
|
|
524
577
|
|
|
@@ -563,7 +616,7 @@
|
|
|
563
616
|
<dd>
|
|
564
617
|
|
|
565
618
|
<div class="description">
|
|
566
|
-
<p
|
|
619
|
+
<p>获取或设置是否开启软阴影。</p>
|
|
567
620
|
</div>
|
|
568
621
|
|
|
569
622
|
|
|
@@ -614,7 +667,7 @@
|
|
|
614
667
|
|
|
615
668
|
|
|
616
669
|
<footer>
|
|
617
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
670
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
618
671
|
</footer>
|
|
619
672
|
</div>
|
|
620
673
|
</div>
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
|
|
303
303
|
|
|
304
304
|
<div class="tag-source">
|
|
305
|
-
engineExtensions/simulation/fluid/FluidSourceCollection.js, line
|
|
305
|
+
engineExtensions/simulation/fluid/FluidSourceCollection.js, line 44
|
|
306
306
|
</div>
|
|
307
307
|
|
|
308
308
|
</div>
|
|
@@ -445,7 +445,14 @@
|
|
|
445
445
|
|
|
446
446
|
|
|
447
447
|
|
|
448
|
-
<pre class="prettyprint"><code>// 以添加一个点流体源为例,首先实例化一个点流体源对象
|
|
449
448
|
position: Cesium.Cartesian3.fromDegrees(113, 30),
|
|
450
449
|
radius: 50,
|
|
451
450
|
flow: 20,
|
|
451
|
+
<pre class="prettyprint"><code>// 以添加一个点流体源为例,首先实例化一个点流体源对象
|
|
452
|
+
const pointFluidSource = new PointFluidSource({
|
|
453
|
+
position: Cesium.Cartesian3.fromDegrees(113, 30),
|
|
454
|
+
radius: 50,
|
|
455
|
+
flow: 20,
|
|
456
|
+
})
|
|
457
|
+
// 将点流体源添加到流体模拟对象的流体源集合中
|
|
458
|
+
fluid.fluidSources.add(pointFluidSource)</code></pre>
|
|
452
459
|
|
|
453
460
|
|
|
454
461
|
|
|
@@ -462,7 +469,7 @@
|
|
|
462
469
|
|
|
463
470
|
|
|
464
471
|
<div class="tag-source">
|
|
465
|
-
engineExtensions/simulation/fluid/FluidSourceCollection.js, line
|
|
472
|
+
engineExtensions/simulation/fluid/FluidSourceCollection.js, line 101
|
|
466
473
|
</div>
|
|
467
474
|
|
|
468
475
|
</div>
|
|
@@ -610,7 +617,7 @@
|
|
|
610
617
|
|
|
611
618
|
|
|
612
619
|
<div class="tag-source">
|
|
613
|
-
engineExtensions/simulation/fluid/FluidSourceCollection.js, line
|
|
620
|
+
engineExtensions/simulation/fluid/FluidSourceCollection.js, line 88
|
|
614
621
|
</div>
|
|
615
622
|
|
|
616
623
|
</div>
|
|
@@ -758,7 +765,7 @@
|
|
|
758
765
|
|
|
759
766
|
|
|
760
767
|
<div class="tag-source">
|
|
761
|
-
engineExtensions/simulation/fluid/FluidSourceCollection.js, line
|
|
768
|
+
engineExtensions/simulation/fluid/FluidSourceCollection.js, line 57
|
|
762
769
|
</div>
|
|
763
770
|
|
|
764
771
|
</div>
|
|
@@ -906,7 +913,7 @@
|
|
|
906
913
|
|
|
907
914
|
|
|
908
915
|
<div class="tag-source">
|
|
909
|
-
engineExtensions/simulation/fluid/FluidSourceCollection.js, line
|
|
916
|
+
engineExtensions/simulation/fluid/FluidSourceCollection.js, line 72
|
|
910
917
|
</div>
|
|
911
918
|
|
|
912
919
|
</div>
|
|
@@ -980,7 +987,7 @@
|
|
|
980
987
|
|
|
981
988
|
|
|
982
989
|
<footer>
|
|
983
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
990
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
984
991
|
</footer>
|
|
985
992
|
</div>
|
|
986
993
|
</div>
|